Hello community, here is the log from the commit of package python-topy for openSUSE:Factory checked in at 2020-05-19 14:48:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-topy (Old) and /work/SRC/openSUSE:Factory/.python-topy.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-topy" Tue May 19 14:48:44 2020 rev:3 rq:806967 version:0.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-topy/python-topy.changes 2019-03-19 09:58:59.364088578 +0100 +++ /work/SRC/openSUSE:Factory/.python-topy.new.2738/python-topy.changes 2020-05-19 14:48:45.136105746 +0200 @@ -1,0 +2,5 @@ +Mon May 18 09:10:33 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-topy.spec ++++++ --- /var/tmp/diff_new_pack.0iyDeR/_old 2020-05-19 14:48:45.912107467 +0200 +++ /var/tmp/diff_new_pack.0iyDeR/_new 2020-05-19 14:48:45.916107475 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-topy # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,6 +30,8 @@ BuildRequires: python-rpm-macros Requires: python-beautifulsoup4 Requires: python-regex >= 2016.07.14 +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module beautifulsoup4} @@ -50,16 +52,23 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/topy %python_expand %fdupes %{buildroot}%{$python_sitelib} %check export LANG=en_US.UTF-8 %python_exec setup.py test +%post +%python_install_alternative topy + +%postun +%python_uninstall_alternative topy + %files %{python_files} %doc README.rst %license LICENSE.txt -%python3_only %{_bindir}/topy +%python_alternative %{_bindir}/topy %{python_sitelib}/* %changelog
