commit python-pyfiglet for openSUSE:Factory
Hello community, here is the log from the commit of package python-pyfiglet for openSUSE:Factory checked in at 2019-05-22 15:39:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyfiglet (Old) and /work/SRC/openSUSE:Factory/.python-pyfiglet.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-pyfiglet" Wed May 22 15:39:21 2019 rev:3 rq:701748 version:0.8.post1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyfiglet/python-pyfiglet.changes 2018-12-14 20:56:11.760815255 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyfiglet.new.5148/python-pyfiglet.changes 2019-05-22 15:39:22.734536158 +0200 @@ -1,0 +2,11 @@ +Wed May 8 17:49:32 UTC 2019 - John Vandenberg <jayvdb@gmail.com> + +- Activate test suite +- Remove tests from runtime package +- Install manpage and add doc/figfont.txt to %doc +- Update to v0.8 + * Change LICENSE to MIT + * Provide font installation option (-L) and remove + unlicenced fonts from the distribution + +------------------------------------------------------------------- Old: ---- pyfiglet-0.7.6.tar.gz New: ---- pyfiglet-0.8.post1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyfiglet.spec ++++++ --- /var/tmp/diff_new_pack.3g06PA/_old 2019-05-22 15:39:23.402534544 +0200 +++ /var/tmp/diff_new_pack.3g06PA/_new 2019-05-22 15:39:23.406534535 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pyfiglet # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,15 +18,16 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pyfiglet -Version: 0.7.6 +Version: 0.8.post1 Release: 0 Summary: Pure Python FIGlet implementation -License: GPL-2.0-or-later +License: MIT Group: Development/Languages/Python Url: https://github.com/pwaller/pyfiglet Source: https://files.pythonhosted.org/packages/source/p/pyfiglet/pyfiglet-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: figlet BuildRequires: python-rpm-macros BuildArch: noarch @@ -38,23 +39,33 @@ %prep %setup -q -n pyfiglet-%{version} -sed -i -e '/^#!\//, 1d' pyfiglet/__init__.py pyfiglet/test.py +sed -i -e '1{/^#!/d}' pyfiglet/__init__.py +mv pyfiglet/test.py . %build %python_build %install %python_install + +install -d -m 0755 %{buildroot}%{_mandir}/man1 +install -m 0644 doc/pyfiglet.1 %{buildroot}%{_mandir}/man1/ + %python_expand %fdupes %{buildroot}%{$python_sitelib} + # Fix python-bytecode-inconsistent-mtime %python_expand $python -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/pyfiglet/fonts/ %python_expand $python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/pyfiglet/fonts/ %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python test.py + %files %{python_files} -%doc README +%doc README doc/figfont.txt %license LICENSE %python3_only %{_bindir}/pyfiglet +%python3_only %{_mandir}/man1/pyfiglet.1* %{python_sitelib}/* %changelog
participants (1)
-
root