Hello community,

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

Package is "python-urlextract"

Sat May 23 16:08:37 2020 rev:2 rq:808377 version:0.14.0

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-urlextract/python-urlextract.changes    
2020-02-22 17:52:01.205720207 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-urlextract.new.2738/python-urlextract.changes
  2020-05-23 16:08:37.513208098 +0200
@@ -1,0 +2,5 @@
+Mon May 18 09:10:43 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-urlextract.spec ++++++
--- /var/tmp/diff_new_pack.SWUTNZ/_old  2020-05-23 16:08:37.853208827 +0200
+++ /var/tmp/diff_new_pack.SWUTNZ/_new  2020-05-23 16:08:37.853208827 +0200
@@ -31,6 +31,8 @@
 Requires:       python-appdirs
 Requires:       python-idna
 Requires:       python-uritools
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module appdirs}
@@ -52,15 +54,22 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/urlextract
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %pytest
 
+%post
+%python_install_alternative urlextract
+
+%postun
+%python_uninstall_alternative urlextract
+
 %files %{python_files}
 %doc CHANGELOG.rst README.rst
 %license LICENSE
-%python3_only %{_bindir}/urlextract
+%python_alternative %{_bindir}/urlextract
 %{python_sitelib}/*
 
 %changelog


Reply via email to