diff --git opensips/opensips.spec opensips/opensips.spec.tmp index 9c47b57525..59bc4f9a09 100644 --- opensips/opensips.spec +++ opensips/opensips.spec.tmp @@ -5,7 +5,7 @@ Summary: Open Source SIP Server Name: opensips Version: 2.2.3 -Release: 6%{?dist} +Release: 7%{?dist} License: GPLv2+ Group: System Environment/Daemons Source0: https://github.com/%{name}/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -621,12 +621,16 @@ This module is a gateway for presence between SIP and XMPP. It translates one format into another and uses xmpp, pua and presence modules to manage the transmition of presence state information. -%package python +%package -n python2-opensips +%{?python_provide:%python_provide python2-opensips} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Summary: Python scripting support Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} -%description python +%description -n python2-opensips Helps implement your own OpenSIPS extensions in Python %package regex @@ -1302,7 +1306,7 @@ useradd -r -g %{name} -d %{_localstatedir}/run/%{name} -s /sbin/nologin \ %{_libdir}/opensips/modules/pua_xmpp.so %doc docdir/README.pua_xmpp -%files python +%files -n python2-opensips %{_libdir}/opensips/modules/python.so %files regex @@ -1353,6 +1357,10 @@ useradd -r -g %{name} -d %{_localstatedir}/run/%{name} -s /sbin/nologin \ %doc docdir/README.xmpp %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 2.2.3-7 +- Python 2 binary package renamed to python2-opensips + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 2.2.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild