Hello community,

here is the log from the commit of package python-tldextract for 
openSUSE:Factory checked in at 2020-05-19 14:48:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tldextract (Old)
 and      /work/SRC/openSUSE:Factory/.python-tldextract.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-tldextract"

Tue May 19 14:48:05 2020 rev:6 rq:806949 version:2.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tldextract/python-tldextract.changes      
2020-03-11 18:56:01.895693265 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-tldextract.new.2738/python-tldextract.changes
    2020-05-19 14:48:08.228025829 +0200
@@ -1,0 +2,5 @@
+Mon May 18 09:10:32 UTC 2020 - Petr Gajdos <pgaj...@suse.com>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-tldextract.spec ++++++
--- /var/tmp/diff_new_pack.TbrioU/_old  2020-05-19 14:48:08.888027239 +0200
+++ /var/tmp/diff_new_pack.TbrioU/_new  2020-05-19 14:48:08.888027239 +0200
@@ -42,6 +42,8 @@
 Requires:       python-requests >= 2.1.0
 Requires:       python-requests-file >= 1.4
 Requires:       python-setuptools
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 Obsoletes:      python-tldextract <= 2.0.1
 BuildArch:      noarch
 %python_subpackages
@@ -63,16 +65,23 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/tldextract
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %python_exec setup.py develop --user
 %pytest tests
 
+%post
+%python_install_alternative tldextract
+
+%postun
+%python_uninstall_alternative tldextract
+
 %files %{python_files}
 %license LICENSE
 %doc README.md
 %{python_sitelib}/*
-%python3_only %{_bindir}/tldextract
+%python_alternative %{_bindir}/tldextract
 
 %changelog


Reply via email to