Hello community, here is the log from the commit of package python-textile for openSUSE:Factory checked in at 2020-05-19 14:48:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-textile (Old) and /work/SRC/openSUSE:Factory/.python-textile.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-textile" Tue May 19 14:48:57 2020 rev:9 rq:806974 version:4.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-textile/python-textile.changes 2020-02-09 20:49:37.854916594 +0100 +++ /work/SRC/openSUSE:Factory/.python-textile.new.2738/python-textile.changes 2020-05-19 14:48:58.856136172 +0200 @@ -1,0 +2,12 @@ +Mon May 18 13:23:16 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Do not pull pytest-cov and pytest-runner nedlessly +- Fix the %fdupes call + +------------------------------------------------------------------- +Mon May 18 09:12:28 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative +- install license + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-textile.spec ++++++ --- /var/tmp/diff_new_pack.ZPc3yb/_old 2020-05-19 14:49:03.340146116 +0200 +++ /var/tmp/diff_new_pack.ZPc3yb/_new 2020-05-19 14:49:03.344146125 +0200 @@ -17,30 +17,26 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without test %define skip_python2 1 Name: python-textile Version: 4.0.1 Release: 0 Summary: Textile processing for python License: BSD-3-Clause -Group: Development/Languages/Python -URL: http://github.com/textile/python-textile +URL: https://github.com/textile/python-textile Source: https://files.pythonhosted.org/packages/source/t/textile/textile-%{version}.tar.gz -Requires: python-Pillow -Requires: python-html5lib >= 1.0.1 -Requires: python-six -Recommends: python-regex -BuildRequires: %{python_module setuptools} -%if %{with test} BuildRequires: %{python_module html5lib >= 1.0.1} -BuildRequires: %{python_module pytest-cov} -BuildRequires: %{python_module pytest-runner} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module regex >= 1.0} -%endif +BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros - +Requires: python-Pillow +Requires: python-html5lib >= 1.0.1 +Requires: python-six +Requires(post): update-alternatives +Requires(postun): update-alternatives +Recommends: python-regex %python_subpackages %description @@ -53,22 +49,29 @@ %prep %setup -q -n textile-%{version} +sed -i -e '/pytest-runner/d' setup.py %build %python_build -%if %{with test} %check -%python_exec setup.py test -%endif +rm pytest.ini +%pytest %install %python_install -%fdupes %buildroot +%python_clone -a %{buildroot}%{_bindir}/pytextile +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%post +%python_install_alternative pytextile + +%postun +%python_uninstall_alternative pytextile %files %{python_files} -%defattr(-,root,root,-) +%license LICENSE.txt %{python_sitelib}/* -%python3_only %{_bindir}/pytextile +%python_alternative %{_bindir}/pytextile %changelog
