diff --git python-coverage-test-runner/python-coverage-test-runner.spec python-coverage-test-runner/python-coverage-test-runner.spec.tmp index 846512ec67..e2eefe0a32 100644 --- python-coverage-test-runner/python-coverage-test-runner.spec +++ python-coverage-test-runner/python-coverage-test-runner.spec.tmp @@ -3,7 +3,7 @@ Name: python-%{prjname} Version: 1.11 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Python module for enforcing code coverage completeness License: GPLv3+ @@ -12,19 +12,27 @@ Source0: http://code.liw.fi/debian/pool/main/p/%{name}/%{name}_%{version} BuildArch: noarch BuildRequires: python-coverage -Requires: python-coverage -%description -CoverageTestRunner is a Python module for running unit tests and -failing them if the unit test module does not exercise all statements -in the module it tests. +%global _description\ +CoverageTestRunner is a Python module for running unit tests and\ +failing them if the unit test module does not exercise all statements\ +in the module it tests.\ +\ +For example, unit tests in module foo_tests.py are supposed to test\ +everything in the foo.py module, and if they don't, it's a bug in the\ +test coverage. It does not matter if other tests happen to test the\ +missing parts. The unit tests for the module should test everything in\ +that module.\ + -For example, unit tests in module foo_tests.py are supposed to test -everything in the foo.py module, and if they don't, it's a bug in the -test coverage. It does not matter if other tests happen to test the -missing parts. The unit tests for the module should test everything in -that module. +%description %_description +%package -n python2-%{prjname} +Summary: %summary +Requires: python-coverage +%{?python_provide:%python_provide python2-%{prjname}} + +%description -n python2-%{prjname} %_description %prep %autosetup @@ -42,7 +50,7 @@ that module. make check -%files +%files -n python2-%{prjname} %license COPYING %doc NEWS README %{python_sitelib}/%{pkgname}.py* @@ -50,6 +58,10 @@ make check %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.11-4 +- Python 2 binary package renamed to python2-coverage-test-runner + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.11-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild