Hello community,

here is the log from the commit of package python-tldextract for 
openSUSE:Leap:15.2 checked in at 2020-05-24 18:08:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-tldextract (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-tldextract.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-tldextract"

Sun May 24 18:08:42 2020 rev:19 rq:808431 version:2.2.2

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-tldextract/python-tldextract.changes    
2020-03-13 11:01:56.404629964 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-tldextract.new.2738/python-tldextract.changes
  2020-05-24 18:08:43.674114124 +0200
@@ -1,0 +2,5 @@
+Mon May 18 09:10:32 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-tldextract.spec ++++++
--- /var/tmp/diff_new_pack.1pEO3A/_old  2020-05-24 18:08:43.998114825 +0200
+++ /var/tmp/diff_new_pack.1pEO3A/_new  2020-05-24 18:08:43.998114825 +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