Hello community, here is the log from the commit of package python-tld for openSUSE:Factory checked in at 2020-05-19 14:48:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-tld (Old) and /work/SRC/openSUSE:Factory/.python-tld.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tld" Tue May 19 14:48:46 2020 rev:15 rq:806968 version:0.12.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-tld/python-tld.changes 2020-05-11 13:42:34.373274698 +0200 +++ /work/SRC/openSUSE:Factory/.python-tld.new.2738/python-tld.changes 2020-05-19 14:48:49.352115095 +0200 @@ -1,0 +2,5 @@ +Mon May 18 09:10:31 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-tld.spec ++++++ --- /var/tmp/diff_new_pack.zEUtM0/_old 2020-05-19 14:48:50.076116701 +0200 +++ /var/tmp/diff_new_pack.zEUtM0/_new 2020-05-19 14:48:50.076116701 +0200 @@ -33,6 +33,8 @@ BuildRequires: python-rpm-macros Requires: python-setuptools Requires: python-six >= 1.9 +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module Faker} @@ -57,15 +59,22 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/update-tld-names %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pytest +%post +%python_install_alternative update-tld-names + +%postun +%python_uninstall_alternative update-tld-names + %files %{python_files} %doc README.rst CHANGELOG.rst %license LICENSE_GPL2.0.txt LICENSE_LGPL_2.1.txt -%python3_only %{_bindir}/update-tld-names +%python_alternative %{_bindir}/update-tld-names %{python_sitelib}/* %changelog
