diff --git python-daemon/python-daemon.spec python-daemon/python-daemon.spec.tmp index 96e68d0672..f5ad6b6d0d 100644 --- python-daemon/python-daemon.spec +++ python-daemon/python-daemon.spec.tmp @@ -10,7 +10,7 @@ Name: python-daemon Version: 2.1.2 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Library to implement a well-behaved Unix daemon process Group: Development/Languages @@ -33,14 +33,22 @@ BuildRequires: python3-lockfile BuildRequires: python3-mock BuildRequires: python3-testtools %endif -Requires: python-lockfile - -%description -This library implements the well-behaved daemon specification of PEP 3143, -"Standard daemon process library". +%global _description\ +This library implements the well-behaved daemon specification of PEP 3143,\ +"Standard daemon process library".\ +\ This is the python2 version of the library. +%description %_description + +%package -n python2-daemon +Summary: %summary +Requires: python-lockfile +%{?python_provide:%python_provide python2-daemon} + +%description -n python2-daemon %_description + %if 0%{?with_python3} %package -n python3-daemon Summary: Library to implement a well-behaved Unix daemon process @@ -91,7 +99,7 @@ pushd %{py3dir} PYTHONPATH=$(pwd) %{__python3} -m unittest discover %endif -%files +%files -n python2-daemon %license LICENSE.ASF-2 %{python2_sitelib}/daemon/ %{python2_sitelib}/python_daemon-%{version}-py%{python2_version}.egg-info/ @@ -104,6 +112,10 @@ PYTHONPATH=$(pwd) %{__python3} -m unittest discover %endif %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 2.1.2-5 +- Python 2 binary package renamed to python2-daemon + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 2.1.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild