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