Hello community,

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

Package is "python-subgrab"

Sat May 23 16:08:33 2020 rev:12 rq:808376 version:0.17

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-subgrab/python-subgrab.changes  
2020-03-02 13:23:37.266429826 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-subgrab.new.2738/python-subgrab.changes    
    2020-05-23 16:08:36.889206760 +0200
@@ -1,0 +2,5 @@
+Tue May 19 08:03:06 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-subgrab.spec ++++++
--- /var/tmp/diff_new_pack.dCgOF1/_old  2020-05-23 16:08:37.337207720 +0200
+++ /var/tmp/diff_new_pack.dCgOF1/_new  2020-05-23 16:08:37.337207720 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-subgrab
 #
-# 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
@@ -31,6 +31,8 @@
 Requires:       python-beautifulsoup4
 Requires:       python-lxml
 Requires:       python-requests
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 %python_subpackages
 
@@ -48,10 +50,17 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/subgrab
 %python_expand %fdupes %{buildroot}/%{$python_sitelib}
 
+%post
+%python_install_alternative subgrab
+
+%postun
+%python_uninstall_alternative subgrab
+
 %files %{python_files}
-%python3_only %{_bindir}/subgrab
+%python_alternative %{_bindir}/subgrab
 %{python_sitelib}/*
 
 %changelog



Reply via email to