Hello community,

here is the log from the commit of package python-HTTPolice for 
openSUSE:Leap:15.2 checked in at 2020-05-28 20:09:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-HTTPolice (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-HTTPolice.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-HTTPolice"

Thu May 28 20:09:15 2020 rev:2 rq:809068 version:0.9.0

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-HTTPolice/python-HTTPolice.changes      
2020-03-27 16:48:12.671936393 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-HTTPolice.new.3606/python-HTTPolice.changes
    2020-05-28 20:09:16.930842911 +0200
@@ -1,0 +2,5 @@
+Mon May 25 10:59:19 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-HTTPolice.spec ++++++
--- /var/tmp/diff_new_pack.iXgjLa/_old  2020-05-28 20:09:17.386844269 +0200
+++ /var/tmp/diff_new_pack.iXgjLa/_new  2020-05-28 20:09:17.390844281 +0200
@@ -40,6 +40,8 @@
 Requires:       python-defusedxml >= 0.5.0
 Requires:       python-dominate >= 2.2.0
 Requires:       python-lxml >= 4.1.0
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 %python_subpackages
 
@@ -59,16 +61,23 @@
 %install
 export LANG=en_US.UTF-8
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/httpolice
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 export LANG=en_US.UTF-8
 %pytest
 
+%post
+%python_install_alternative httpolice
+
+%postun
+%python_uninstall_alternative httpolice
+
 %files %{python_files}
 %license LICENSE.txt
 %doc CHANGELOG.rst README.rst
-%python3_only %{_bindir}/httpolice
+%python_alternative %{_bindir}/httpolice
 %{python_sitelib}/*
 
 %changelog


Reply via email to