diff --git python-assertEquals/python-assertEquals.spec python-assertEquals/python-assertEquals.spec.tmp index b38bcf6502..a0049686bc 100644 --- python-assertEquals/python-assertEquals.spec +++ python-assertEquals/python-assertEquals.spec.tmp @@ -3,7 +3,7 @@ Name: python-%{pypi_name} Version: 0.4.4 -Release: 10%{?dist} +Release: 11%{?dist} Summary: assertEquals is an epic testing interface for Python Group: Development/Languages License: BSD @@ -20,17 +20,24 @@ BuildArch: noarch BuildRequires: python-devel BuildRequires: python-setuptools +%global _description\ +assertEquals is an interface for running tests written with the Python\ +standard library's unittest module. It used to be named testosterone.\ +It delivers summary and detail reports on TestCases discovered in\ +module-space, via both a command-line and a curses(3) interface. The\ +interactive mode is the default, but it depends on the non-interactive mode.\ +For debugging, static tracebacks and interactive Python debugger (Pdb)\ +sessions are available in both scripted and interactive modes. + +%description %_description + +%package -n python2-assertequals +Summary: %summary +Provides: python-testosterone = %{version}-%{release} Obsoletes: python-testosterone < 0.4.1-8 -Provides: python-testosterone = %{version}-%{release} +%{?python_provide:%python_provide python2-assertequals} -%description -assertEquals is an interface for running tests written with the Python -standard library's unittest module. It used to be named testosterone. -It delivers summary and detail reports on TestCases discovered in -module-space, via both a command-line and a curses(3) interface. The -interactive mode is the default, but it depends on the non-interactive mode. -For debugging, static tracebacks and interactive Python debugger (Pdb) -sessions are available in both scripted and interactive modes. +%description -n python2-assertequals %_description %prep %setup -q -n %{pypi_name}-%{commit} @@ -61,13 +68,17 @@ install -m 444 %{pypi_name}.1.gz $RPM_BUILD_ROOT/%{_mandir}/man1/%{pypi_name}.1. %{__python2} setup.py test -%files +%files -n python2-assertequals %doc README.rst LICENSE %{python2_sitelib}/* %{_bindir}/%{pypi_name} %{_mandir}/man1/%{pypi_name}.1.gz %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 0.4.4-11 +- Python 2 binary package renamed to python2-assertequals + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.4.4-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild