Hello community,

here is the log from the commit of package python-python-coveralls for 
openSUSE:Factory checked in at 2020-05-26 17:18:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-coveralls (Old)
 and      /work/SRC/openSUSE:Factory/.python-python-coveralls.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-python-coveralls"

Tue May 26 17:18:08 2020 rev:5 rq:807673 version:2.9.3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-python-coveralls/python-python-coveralls.changes
  2019-09-11 10:36:24.191278633 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-python-coveralls.new.2738/python-python-coveralls.changes
        2020-05-26 17:18:42.415895681 +0200
@@ -1,0 +2,5 @@
+Wed May 20 07:26:50 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-python-coveralls.spec ++++++
--- /var/tmp/diff_new_pack.mwKhyI/_old  2020-05-26 17:18:43.187897341 +0200
+++ /var/tmp/diff_new_pack.mwKhyI/_new  2020-05-26 17:18:43.187897341 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-python-coveralls
 #
-# 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-coverage >= 4.4
 Requires:       python-requests
 Requires:       python-six
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 Conflicts:      python-coveralls
 BuildArch:      noarch
 # SECTION test requirements
@@ -63,6 +65,7 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/coveralls
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
@@ -70,10 +73,16 @@
 %pytest example/tests.py --cov=example
 popd
 
+%post
+%python_install_alternative coveralls
+
+%postun
+%python_uninstall_alternative coveralls
+
 %files %{python_files}
 %doc README.rst
 %license LICENSE
-%python3_only %{_bindir}/coveralls
+%python_alternative %{_bindir}/coveralls
 %{python_sitelib}/*
 
 %changelog


Reply via email to