Hello community, here is the log from the commit of package python-helpdev for openSUSE:Factory checked in at 2020-05-26 17:49:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-helpdev (Old) and /work/SRC/openSUSE:Factory/.python-helpdev.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-helpdev" Tue May 26 17:49:57 2020 rev:4 rq:808937 version:0.7.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-helpdev/python-helpdev.changes 2020-05-19 14:47:08.747898749 +0200 +++ /work/SRC/openSUSE:Factory/.python-helpdev.new.2738/python-helpdev.changes 2020-05-26 17:49:59.827969547 +0200 @@ -1,0 +2,12 @@ +Tue May 26 07:33:07 UTC 2020 - Antonio Larrosa <[email protected]> + +- python-psutil is only used to call its "swap_memory" and + "virtual_memory" functions, so we reduced the required version + from 5.6 to 5.4.8 so we can build packages for SLE/Leap. + +------------------------------------------------------------------- +Mon May 25 10:59:16 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-helpdev.spec ++++++ --- /var/tmp/diff_new_pack.rKCjbJ/_old 2020-05-26 17:50:00.515971054 +0200 +++ /var/tmp/diff_new_pack.rKCjbJ/_new 2020-05-26 17:50:00.519971063 +0200 @@ -29,11 +29,13 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-importlib-metadata -Requires: python-psutil >= 5.6 +Requires: python-psutil >= 5.4.8 +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module importlib-metadata} -BuildRequires: %{python_module psutil >= 5.6} +BuildRequires: %{python_module psutil >= 5.4.8} BuildRequires: %{python_module pytest} # /SECTION %python_subpackages @@ -44,21 +46,29 @@ %prep %setup -q -n helpdev-v%{version} sed -i '1{\,^#!%{_bindir}/env python,d}' helpdev/*.py +sed -i -e "s/psutil>=5.6/psutil>=5.4.8/" setup.py %build %python_build %install %python_install +%python_clone -a %{buildroot}%{_bindir}/helpdev %python_expand %fdupes %{buildroot}%{$python_sitelib} %check #test_check_python_packages needs the binary %pytest -k 'not test_check_python_packages' +%post +%python_install_alternative helpdev + +%postun +%python_uninstall_alternative helpdev + %files %{python_files} %doc README.rst -%python3_only %{_bindir}/helpdev +%python_alternative %{_bindir}/helpdev %{python_sitelib}/* %changelog
