diff --git python-testtools/python-testtools.spec python-testtools/python-testtools.spec.tmp index 17d5aa54d6..39dbdb0590 100644 --- python-testtools/python-testtools.spec +++ python-testtools/python-testtools.spec.tmp @@ -4,7 +4,7 @@ Name: python-testtools Version: 2.3.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Extensions to the Python unit testing framework %if 0%{?rhel} @@ -39,17 +39,23 @@ BuildRequires: python3-testscenarios %endif BuildRequires: python-sphinx -Provides: python2-testtools = %{version}-%{release} -Requires: python-extras -Requires: python-mimeparse -Requires: python-pbr -Requires: python-unittest2 >= 1.0.0 -Requires: python-traceback2 +%global _description\ +testtools is a set of extensions to the Python standard library's unit testing\ +framework.\ -%description -testtools is a set of extensions to the Python standard library's unit testing -framework. +%description %_description + +%package -n python2-testtools +Summary: %summary +Requires: python-traceback2 +Requires: python-unittest2 >= 1.0.0 +Requires: python-pbr +Requires: python-mimeparse +Requires: python-extras +%{?python_provide:%python_provide python2-testtools} + +%description -n python2-testtools %_description %if 0%{?with_python3} %package -n python3-testtools @@ -138,7 +144,7 @@ popd %endif # with_python3 -%files +%files -n python2-testtools %doc NEWS README.rst %license LICENSE %{python2_sitelib}/* @@ -155,6 +161,10 @@ popd %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 2.3.0-3 +- Python 2 binary package renamed to python2-testtools + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 2.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild