diff --git python-zc-customdoctests/python-zc-customdoctests.spec python-zc-customdoctests/python-zc-customdoctests.spec.tmp index cb09b7d2eb..146e6a657e 100644 --- python-zc-customdoctests/python-zc-customdoctests.spec +++ python-zc-customdoctests/python-zc-customdoctests.spec.tmp @@ -6,7 +6,7 @@ Name: python-zc-customdoctests Version: 1.0.1 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Use doctest with other languages Group: Development/Libraries License: ZPLv2.1 @@ -35,15 +35,23 @@ BuildRequires: python3-manuel BuildRequires: python3-six %endif -%description -doctest (and recently manuel) provide hooks for using custom doctest -parsers. `zc.customdoctests` helps to leverage this to support other -languages, such as JavaScript:: +%global _description\ +doctest (and recently manuel) provide hooks for using custom doctest\ +parsers. `zc.customdoctests` helps to leverage this to support other\ +languages, such as JavaScript::\ +\ +js> function double (x) { ... return x*2; ... } js> double(2) 4\ +\ +And with manuel, it facilitates doctests that mix multiple languages,\ +such as Python, JavaScript, and sh. -js> function double (x) { ... return x*2; ... } js> double(2) 4 +%description %_description -And with manuel, it facilitates doctests that mix multiple languages, -such as Python, JavaScript, and sh. +%package -n python2-zc-customdoctests +Summary: %summary +%{?python_provide:%python_provide python2-zc-customdoctests} + +%description -n python2-zc-customdoctests %_description %if 0%{?with_python3} %package -n python3-zc-customdoctests @@ -99,7 +107,7 @@ popd %endif %endif -%files +%files -n python2-zc-customdoctests %doc README.txt CHANGES.txt PKG-INFO %{python_sitelib}/zc/customdoctests/ %{python_sitelib}/%{modname}-%{version}* @@ -112,6 +120,10 @@ popd %endif %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.0.1-13 +- Python 2 binary package renamed to python2-zc-customdoctests + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.0.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild