diff --git python-nose-exclude/python-nose-exclude.spec python-nose-exclude/python-nose-exclude.spec.tmp index 03bab346c5..4602adcfa5 100644 --- python-nose-exclude/python-nose-exclude.spec +++ python-nose-exclude/python-nose-exclude.spec.tmp @@ -6,7 +6,7 @@ Name: python-%{pypi_name} Version: 0.4.1 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Exclude specific directories from nosetests runs License: LGPLv2 @@ -17,17 +17,24 @@ BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools -Requires: python-nose - %if 0%{?with_python3} BuildRequires: python3-devel BuildRequires: python3-setuptools %endif -%description -nose-exclude is a `Nose`_ plugin that allows you to easily -specify directories to be excluded from testing. +%global _description\ +nose-exclude is a `Nose`_ plugin that allows you to easily\ +specify directories to be excluded from testing.\ + +%description %_description + +%package -n python2-%{pypi_name} +Summary: %summary +Requires: python-nose +%{?python_provide:%python_provide python2-%{pypi_name}} + +%description -n python2-%{pypi_name} %_description %if 0%{?with_python3} %package -n python3-%{pypi_name} @@ -69,7 +76,7 @@ pushd %{py3dir} popd %endif -%files +%files -n python2-%{pypi_name} %doc README.rst %{python_sitelib}/nose_exclude.py* %{python_sitelib}/nose_exclude-%{version}-py?.?.egg-info @@ -83,6 +90,10 @@ popd %endif %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 0.4.1-8 +- Python 2 binary package renamed to python2-nose-exclude + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.4.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild