Hello community,
here is the log from the commit of package python-coveralls for
openSUSE:Factory checked in at 2020-05-07 14:51:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-coveralls (Old)
and /work/SRC/openSUSE:Factory/.python-coveralls.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-coveralls"
Thu May 7 14:51:04 2020 rev:9 rq:800682 version:1.11.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-coveralls/python-coveralls.changes
2020-04-01 19:20:45.495596442 +0200
+++
/work/SRC/openSUSE:Factory/.python-coveralls.new.2738/python-coveralls.changes
2020-05-07 14:51:14.942049067 +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.kmOEWx/_old 2020-05-07 14:51:15.762050711 +0200
+++ /var/tmp/diff_new_pack.kmOEWx/_new 2020-05-07 14:51:15.762050711 +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