Hello community,

here is the log from the commit of package python-coveralls for 
openSUSE:Leap:15.2 checked in at 2020-06-01 23:02:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-coveralls (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-coveralls.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-coveralls"

Mon Jun  1 23:02:53 2020 rev:6 rq:801233 version:1.11.1

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-coveralls/python-coveralls.changes      
2020-04-02 16:49:21.226027980 +0200
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-coveralls.new.3606/python-coveralls.changes
    2020-06-01 23:02:55.346704623 +0200
@@ -1,0 +2,5 @@
+Wed May  6 09:59:30 UTC 2020 - Matej Cepl <[email protected]>
+
+- Don't use %python3_only command, but properly use alternatives.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-coveralls.spec ++++++
--- /var/tmp/diff_new_pack.VRdIS7/_old  2020-06-01 23:02:56.302707655 +0200
+++ /var/tmp/diff_new_pack.VRdIS7/_new  2020-06-01 23:02:56.302707655 +0200
@@ -45,6 +45,8 @@
 %ifpython2
 Recommends:     python-urllib3
 %endif
+Requires(post):   update-alternatives
+Requires(postun):  update-alternatives
 %python_subpackages
 
 %description
@@ -65,16 +67,23 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/coveralls
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 export LANG="en_US.UTF8"
 %pytest
 
+%post
+%python_install_alternative coveralls
+
+%postun
+%python_uninstall_alternative coveralls
+
 %files %{python_files}
 %doc CHANGELOG.md README.rst
 %license LICENSE.txt
-%python3_only %{_bindir}/coveralls
+%python_alternative %{_bindir}/coveralls
 %{python_sitelib}/*
 
 %changelog


Reply via email to