diff --git python-fixtures/python-fixtures.spec python-fixtures/python-fixtures.spec.tmp index bfa8049ee6..208f6d6226 100644 --- python-fixtures/python-fixtures.spec +++ python-fixtures/python-fixtures.spec.tmp @@ -7,7 +7,7 @@ Name: python-%{pypi_name} Version: 3.0.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Fixtures, reusable state for writing clean tests and more License: ASL 2.0 or BSD @@ -22,15 +22,22 @@ BuildRequires: python-pbr >= 0.11 BuildRequires: python-mock BuildRequires: python-testtools >= 0.9.22 -Requires: python-testtools >= 0.9.22 +%global _description\ +Fixtures defines a Python contract for reusable state / support logic,\ +primarily for unit testing. Helper and adaption logic is included to\ +make it easy to write your own fixtures using the fixtures contract.\ +Glue code is provided that makes using fixtures that meet the Fixtures\ +contract in unit test compatible test cases easy and straight forward. + +%description %_description + +%package -n python2-%{pypi_name} +Summary: %summary Requires: python-six +Requires: python-testtools >= 0.9.22 +%{?python_provide:%python_provide python2-%{pypi_name}} -%description -Fixtures defines a Python contract for reusable state / support logic, -primarily for unit testing. Helper and adaption logic is included to -make it easy to write your own fixtures using the fixtures contract. -Glue code is provided that makes using fixtures that meet the Fixtures -contract in unit test compatible test cases easy and straight forward. +%description -n python2-%{pypi_name} %_description %if 0%{?with_python3} %package -n python3-%{pypi_name} @@ -77,7 +84,7 @@ contract in unit test compatible test cases easy and straight forward. %{__python3} -m testtools.run fixtures.test_suite %endif -%files +%files -n python2-%{pypi_name} %doc README GOALS NEWS Apache-2.0 BSD COPYING %{python_sitelib}/%{pypi_name} %{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info @@ -90,6 +97,10 @@ contract in unit test compatible test cases easy and straight forward. %endif %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 3.0.0-6 +- Python 2 binary package renamed to python2-fixtures + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 3.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild