Hello community,

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

Package is "python-wptools"

Sat May 23 16:06:29 2020 rev:29 rq:808107 version:0.4.17

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-wptools/python-wptools.changes  
2020-03-02 13:25:02.262598822 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-wptools.new.2738/python-wptools.changes    
    2020-05-23 16:06:34.812945016 +0200
@@ -1,0 +2,5 @@
+Mon May 18 07:25:38 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-wptools.spec ++++++
--- /var/tmp/diff_new_pack.a4ZrXb/_old  2020-05-23 16:06:37.208950153 +0200
+++ /var/tmp/diff_new_pack.a4ZrXb/_new  2020-05-23 16:06:37.208950153 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-wptools
 #
-# 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
@@ -34,6 +34,8 @@
 Requires:       python-html2text >= 2016.9.19
 Requires:       python-lxml >= 3.8.0
 Requires:       python-pycurl >= 7.43.0
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 %python_subpackages
 
@@ -58,12 +60,19 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/wptool
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%post
+%python_install_alternative wptool
+
+%postun
+%python_uninstall_alternative wptool
+
 %files %{python_files}
 %license LICENSE
 %doc HISTORY.rst README.rst
-%python3_only %{_bindir}/wptool
+%python_alternative %{_bindir}/wptool
 %{python_sitelib}/*
 
 %changelog


Reply via email to