no python2 for rhel8

This commit is contained in:
Troy Dawson 2020-07-07 19:17:35 +00:00
parent bbe674aeb2
commit 6b72fc1f50

View File

@ -130,7 +130,7 @@ BuildRequires: perl(ExtUtils::Embed)
%description perl %description perl
This plugin provides the Perl support for the FreeRADIUS server project. This plugin provides the Perl support for the FreeRADIUS server project.
%if 0%{?fedora} <= 30 && 0%{?rhel} < 9 %if 0%{?fedora} <= 30 && 0%{?rhel} < 8
%package -n python2-freeradius %package -n python2-freeradius
Summary: Python 2 support for freeradius Summary: Python 2 support for freeradius
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
@ -716,7 +716,7 @@ exit 0
%{_libdir}/freeradius/rlm_perl.so %{_libdir}/freeradius/rlm_perl.so
%if 0%{?fedora} <= 30 && 0%{?rhel} < 9 %if 0%{?fedora} <= 30 && 0%{?rhel} < 8
%files -n python2-freeradius %files -n python2-freeradius
%dir %attr(750,root,radiusd) /etc/raddb/mods-config/python %dir %attr(750,root,radiusd) /etc/raddb/mods-config/python
/etc/raddb/mods-config/python/example.py* /etc/raddb/mods-config/python/example.py*