diff --git python-zdaemon/python-zdaemon.spec python-zdaemon/python-zdaemon.spec.tmp index 2cf63290ed..4890242250 100644 --- python-zdaemon/python-zdaemon.spec +++ python-zdaemon/python-zdaemon.spec.tmp @@ -10,7 +10,7 @@ Name: python-zdaemon Version: 4.2.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Python Daemon Process Control Library Group: Development/Languages License: ZPLv2.1 @@ -27,8 +27,6 @@ BuildRequires: python-six BuildRequires: python-zc-customdoctests BuildRequires: python-mock -Requires: python-ZConfig - %if 0%{?with_python3} BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -40,9 +38,18 @@ BuildRequires: python3-zc-customdoctests BuildRequires: python3-mock %endif -%description +%global _description\ Daemon process control library and tools for Unix-bases systems. +%description %_description + +%package -n python2-zdaemon +Summary: %summary +Requires: python-ZConfig +%{?python_provide:%python_provide python2-zdaemon} + +%description -n python2-zdaemon %_description + %if 0%{?with_python3} %package -n python3-zdaemon Summary: Python Daemon Process Control Library @@ -96,7 +103,7 @@ popd export PYTHONPATH="$PYTHONPATH:%{buildroot}%{python2_sitelib}" %{__python2} build/lib/zdaemon/tests/tests.py -%files +%files -n python2-zdaemon %doc CHANGES.rst README.rst %{python2_sitelib}/zdaemon %{python2_sitelib}/zdaemon-%{version}-py?.?.egg-info @@ -112,6 +119,10 @@ export PYTHONPATH="$PYTHONPATH:%{buildroot}%{python2_sitelib}" %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 4.2.0-3 +- Python 2 binary package renamed to python2-zdaemon + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 4.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild