diff --git a/freeradius.spec b/freeradius.spec index 124e9ad..10a5afd 100644 --- a/freeradius.spec +++ b/freeradius.spec @@ -1,7 +1,7 @@ Summary: High-performance and highly configurable free RADIUS server Name: freeradius Version: 3.0.15 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ and LGPLv2+ Group: System Environment/Daemons URL: http://www.freeradius.org/ @@ -131,13 +131,17 @@ BuildRequires: perl(ExtUtils::Embed) %description perl This plugin provides the Perl support for the FreeRADIUS server project. -%package python +%package -n python2-freeradius +%{?python_provide:%python_provide python2-freeradius} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Summary: Python support for freeradius Group: System Environment/Daemons Requires: %{name} = %{version}-%{release} BuildRequires: python-devel -%description python +%description -n python2-freeradius This plugin provides the Python support for the FreeRADIUS server project. %package mysql @@ -690,7 +694,7 @@ exit 0 %{_libdir}/freeradius/rlm_perl.so -%files python +%files -n python2-freeradius %dir %attr(750,root,radiusd) /etc/raddb/mods-config/python /etc/raddb/mods-config/python/example.py* /etc/raddb/mods-config/python/radiusd.py* @@ -796,6 +800,10 @@ exit 0 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/rest %changelog +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 3.0.15-4 +- Python 2 binary package renamed to python2-freeradius + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Wed Aug 02 2017 Fedora Release Engineering - 3.0.15-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild