diff --git python-nose-xcover/python-nose-xcover.spec python-nose-xcover/python-nose-xcover.spec.tmp index 505165c85b..927a50525d 100644 --- python-nose-xcover/python-nose-xcover.spec +++ python-nose-xcover/python-nose-xcover.spec.tmp @@ -9,7 +9,7 @@ Name: python-nose-xcover Version: 1.0.10 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Extends nose.plugins.cover to add Cobertura-style XML reports License: BSD @@ -20,15 +20,22 @@ BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools +%global _description\ +A companion to the built-in nose.plugins.cover,\ +this plugin will write out an XML coverage report to a file named coverage.xml.\ +It will honor all the options you pass to the `Nose coverage plugin\ +especially --cover-package.\ + + +%description %_description + +%package -n python2-nose-xcover +Summary: %summary Requires: python-nose Requires: python-coverage >= 3.4 +%{?python_provide:%python_provide python2-nose-xcover} -%description -A companion to the built-in nose.plugins.cover, -this plugin will write out an XML coverage report to a file named coverage.xml. -It will honor all the options you pass to the `Nose coverage plugin -especially --cover-package. - +%description -n python2-nose-xcover %_description %if %{with python3} %package -n python3-nose-xcover @@ -80,7 +87,7 @@ popd %{__python2} setup.py install --skip-build --root %{buildroot} -%files +%files -n python2-nose-xcover %doc PKG-INFO %{python2_sitelib}/%{pypi_name} %{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info @@ -94,6 +101,10 @@ popd %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.0.10-9 +- Python 2 binary package renamed to python2-nose-xcover + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.0.10-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild