diff --git python-dingus/python-dingus.spec python-dingus/python-dingus.spec.tmp index 9e8a970597..f879680f0a 100644 --- python-dingus/python-dingus.spec +++ python-dingus/python-dingus.spec.tmp @@ -2,7 +2,7 @@ Name: python-%{pypi_name} Version: 0.3.4 -Release: 11%{?dist} +Release: 12%{?dist} Summary: A record-then-assert mocking library License: MIT @@ -19,13 +19,21 @@ BuildRequires: python-devel BuildRequires: python-setuptools BuildRequires: python-nose -%description -A dingus is sort of like a mock object. The main difference is that you don't -set up expectations ahead of time. You just run your code, using a dingus in -place of another object or class, and it will record what happens to it. -Then, once your code has been exercised, you can make assertions about +%global _description\ +A dingus is sort of like a mock object. The main difference is that you don't\ +set up expectations ahead of time. You just run your code, using a dingus in\ +place of another object or class, and it will record what happens to it.\ +Then, once your code has been exercised, you can make assertions about\ what it did to the dingus. +%description %_description + +%package -n python2-%{pypi_name} +Summary: %summary +%{?python_provide:%python_provide python2-%{pypi_name}} + +%description -n python2-%{pypi_name} %_description + %prep %setup -q -n %{pypi_name}-%{version} # remove bundled egg-info @@ -43,11 +51,15 @@ tar -xzf %{SOURCE1} nosetests -m '((?:^|[b_.-])(:?[Tt]est|When|should))' -%files +%files -n python2-%{pypi_name} %doc %{_docdir}/%{pypi_name}/ %{python_sitelib}/* %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.3.4-12 +- Python 2 binary package renamed to python2-dingus + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.3.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild