diff --git python-croniter/python-croniter.spec python-croniter/python-croniter.spec.tmp index 6df43093c4..75c64cb4ec 100644 --- python-croniter/python-croniter.spec +++ python-croniter/python-croniter.spec.tmp @@ -13,7 +13,7 @@ Name: python-%{pypi_name} Version: 0.3.4 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Iteration for datetime object with cron like format License: MIT @@ -28,10 +28,17 @@ BuildRequires: python-setuptools BuildRequires: python-dateutil BuildRequires: pytz +%global _description\ +Croniter provides iteration for datetime object with cron like format. + +%description %_description + +%package -n python2-%{pypi_name} +Summary: %summary Requires: python-dateutil +%{?python_provide:%python_provide python2-%{pypi_name}} -%description -Croniter provides iteration for datetime object with cron like format. +%description -n python2-%{pypi_name} %_description %if 0%{?with_python3} %package -n python3-%{pypi_name} @@ -89,7 +96,7 @@ rm -fr %{buildroot}%{python3_sitelib}/%{pypi_name}/tests/ %endif -%files +%files -n python2-%{pypi_name} %doc README.rst docs/LICENSE %{python2_sitelib}/%{pypi_name} %{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info @@ -103,6 +110,10 @@ rm -fr %{buildroot}%{python3_sitelib}/%{pypi_name}/tests/ %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 0.3.4-12 +- Python 2 binary package renamed to python2-croniter + 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