Minor conditional tweak for ELN

Signed-off-by: Troy Dawson tdawson@redhat.com
This commit is contained in:
Troy Dawson 2020-07-07 16:40:16 +00:00
parent 08b8e23397
commit bbe674aeb2

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 %if 0%{?fedora} <= 30 && 0%{?rhel} < 9
%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 %if 0%{?fedora} <= 30 && 0%{?rhel} < 9
%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*