diff --git python-testscenarios/python-testscenarios.spec python-testscenarios/python-testscenarios.spec.tmp index a7a6938ced..78cdee1683 100644 --- python-testscenarios/python-testscenarios.spec +++ python-testscenarios/python-testscenarios.spec.tmp @@ -6,7 +6,7 @@ Name: python-%{pypi_name} Version: 0.5.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Testscenarios, a pyunit extension for dependency injection License: ASL 2.0 and BSD @@ -18,7 +18,6 @@ BuildRequires: python2-devel BuildRequires: python-setuptools BuildRequires: python-pbr -Requires: python-testtools %if 0%{?with_python3} BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -26,13 +25,22 @@ BuildRequires: python3-testtools BuildRequires: python3-pbr %endif # with_python3 -%description -testscenarios provides clean dependency injection for python unittest style -tests. This can be used for interface testing (testing many implementations via -a single test suite) or for classic dependency injection (provide tests with -dependencies externally to the test code itself, allowing easy testing in +%global _description\ +testscenarios provides clean dependency injection for python unittest style\ +tests. This can be used for interface testing (testing many implementations via\ +a single test suite) or for classic dependency injection (provide tests with\ +dependencies externally to the test code itself, allowing easy testing in\ different situations). +%description %_description + +%package -n python2-%{pypi_name} +Summary: %summary +Requires: python-testtools +%{?python_provide:%python_provide python2-%{pypi_name}} + +%description -n python2-%{pypi_name} %_description + %if 0%{?with_python3} %package -n python3-%{pypi_name} Summary: Testscenarios, a pyunit extension for dependency injection @@ -77,7 +85,7 @@ popd %endif # with_python3 -%files +%files -n python2-%{pypi_name} %doc Apache-2.0 BSD GOALS HACKING NEWS README doc/ %{python_sitelib}/%{pypi_name} %{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info @@ -89,6 +97,10 @@ popd %endif # with_python3 %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.5.0-7 +- Python 2 binary package renamed to python2-testscenarios + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.5.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild