diff --git python-dtopt/python-dtopt.spec python-dtopt/python-dtopt.spec.tmp index 0430f20ae1..1b952b2de4 100644 --- python-dtopt/python-dtopt.spec +++ python-dtopt/python-dtopt.spec.tmp @@ -7,7 +7,7 @@ Name: python-dtopt Summary: Add options to doctest examples while they are running Version: 0.1 -Release: 23%{?dist} +Release: 24%{?dist} License: MIT Group: System Environment/Libraries URL: http://pypi.python.org/pypi/dtopt/ @@ -22,15 +22,23 @@ BuildRequires: python3-setuptools %endif -%description -dtopts adds options to doctest examples while they are running. When -using the doctest module it is often convenient to use the ELLIPSIS -option, which allows you to use ... as a wildcard. But you either have -to setup the test runner to use this option, or you must put #doctest: -+ELLIPSIS on every example that uses this feature. dtopt lets you enable -this option globally from within a doctest, by doing: +%global _description\ +dtopts adds options to doctest examples while they are running. When\ +using the doctest module it is often convenient to use the ELLIPSIS\ +option, which allows you to use ... as a wildcard. But you either have\ +to setup the test runner to use this option, or you must put #doctest:\ ++ELLIPSIS on every example that uses this feature. dtopt lets you enable\ +this option globally from within a doctest, by doing:\ >>> from dtopt import ELLIPSIS +%description %_description + +%package -n python2-dtopt +Summary: %summary +%{?python_provide:%python_provide python2-dtopt} + +%description -n python2-dtopt %_description + %if 0%{?with_python3} %package -n python3-dtopt Summary: Add options to doctest examples while they are running @@ -84,7 +92,7 @@ popd %clean %{__rm} -rf %{buildroot} -%files +%files -n python2-dtopt %defattr(-,root,root,-) %doc docs/* %{python_sitelib}/dtopt/ @@ -98,6 +106,10 @@ popd %endif %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.1-24 +- Python 2 binary package renamed to python2-dtopt + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.1-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild