Hello community,

here is the log from the commit of package python-coverage for openSUSE:Factory 
checked in at 2020-12-13 17:29:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-coverage (Old)
 and      /work/SRC/openSUSE:Factory/.python-coverage.new.2328 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-coverage"

Sun Dec 13 17:29:18 2020 rev:42 rq:854657 version:5.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-coverage/python-coverage.changes  
2020-12-04 21:27:31.462041866 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-coverage.new.2328/python-coverage.changes    
    2020-12-13 17:29:19.832324647 +0100
@@ -1,0 +2,5 @@
+Thu Dec 10 18:42:00 UTC 2020 - Matej Cepl <mc...@suse.com>
+
+- Fix alternatives
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-coverage.spec ++++++
--- /var/tmp/diff_new_pack.txbYmO/_old  2020-12-13 17:29:20.684325511 +0100
+++ /var/tmp/diff_new_pack.txbYmO/_new  2020-12-13 17:29:20.684325511 +0100
@@ -17,13 +17,6 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-# We redefine this locally, because we are sure that it is only used for files,
-# which only the primary python3 flavor should provide for python3 multiflavor
-# gh#openSUSE/python-rpm-macros#66
-%define python3_only() %%if "%%{python_flavor}" == "python3" || 
"%%{python_provides}" == "python3" \
-%** \
-%%endif
-
 Name:           python-coverage
 Version:        5.3
 Release:        0
@@ -72,14 +65,9 @@
 
 %install
 %python_install
+rm -vf %{buildroot}%{_bindir}/coverage{2,3}
 %python_clone -a %{buildroot}%{_bindir}/coverage
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
-%if 0%{?have_python2} && ! 0%{?skip_python2}
-ln -sf coverage-%{python2_version} %{buildroot}%{_bindir}/coverage2
-%endif
-%if 0%{?have_python3} && ! 0%{?skip_python3}
-ln -sf coverage-%{python3_version} %{buildroot}%{_bindir}/coverage3
-%endif
 
 %check
 # GetZipBytesTest.test_get_encoded_zip_files - needs zip command
@@ -108,7 +96,6 @@
 export PYTHONPATH=":x"
 %pytest_arch -k 'not (test_get_encoded_zip_files or test_egg or test_doctest 
or test_unicode or test_version or test_multiprocessing_with_branching or 
test_farm or test_dothtml_not_python or test_one_of or test_bytes or 
test_encoding or test_multi or test_xdist_sys_path_nuttiness_is_fixed or 
test_debug_sys_ctracer)'
 
-
 %post
 %python_install_alternative coverage
 
@@ -119,8 +106,6 @@
 %license LICENSE.txt
 %doc CHANGES.rst CONTRIBUTORS.txt README.rst howto.txt
 %python_alternative %{_bindir}/coverage
-%python2_only %{_bindir}/coverage2
-%python3_only %{_bindir}/coverage3
 %{python_sitearch}/coverage/
 %{python_sitearch}/coverage-%{version}-py%{python_version}.egg-info
 
_______________________________________________
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org

Reply via email to