diff --git a/python-simplevisor.spec b/python-simplevisor.spec index c740145c22..5208d55034 100644 --- a/python-simplevisor.spec +++ b/python-simplevisor.spec @@ -9,7 +9,7 @@ Name: python-simplevisor Version: 1.2 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Python simple daemons supervisor Group: Development/Libraries License: ASL 2.0 @@ -21,27 +21,39 @@ BuildRequires: python2-devel %if 0%{?with_python3} BuildRequires: python3-devel %endif # if with_python3 -Provides: python2-simplevisor %if 0%{?fedora} >= 24 BuildRequires: perl-generators %endif BuildRequires: perl-No-Worries -Requires: perl-Config-General -Requires: perl-No-Worries %if ! 0%{?with_python3} BuildRequires: python-argparse -Requires: python-argparse %endif # For python < 2.6 python-siplejson is required %if 0%{?fedora} < 11 || 0%{?rhel} <= 6 BuildRequires: python-simplejson -Requires: python-simplejson %endif -%description -Simplevisor is a simple daemons supervisor, it is inspired by +%global _description\ +Simplevisor is a simple daemons supervisor, it is inspired by\ Erlang OTP and it can supervise hierarchies of services. +%description %_description + +%package -n python2-simplevisor +Summary: %summary +Provides: python2-simplevisor +Requires: perl-Config-General +Requires: perl-No-Worries +%if ! 0%{?with_python3} +Requires: python-argparse +%endif +%if 0%{?fedora} < 11 || 0%{?rhel} <= 6 +Requires: python-simplejson +%endif +%{?python_provide:%python_provide python2-simplevisor} + +%description -n python2-simplevisor %_description + %if 0%{?with_python3} %package -n python3-simplevisor Summary: Python simple daemons supervisor @@ -111,7 +123,7 @@ popd %clean rm -fr $RPM_BUILD_ROOT -%files +%files -n python2-simplevisor %defattr(-,root,root) %doc LICENSE README.rst CHANGES examples %{_mandir}/man?/%{srcname}.1* @@ -139,6 +151,10 @@ rm -fr $RPM_BUILD_ROOT %endif # with_python3 %changelog +* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 1.2-7 +- Python 2 binary package renamed to python2-simplevisor + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild