From: Nick Porter Date: Thu, 23 Nov 2023 12:54:19 +0000 (+0000) Subject: Ensure correct python-config is used on RHEL 8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7c478917d9570c5ddcfd46e01d2446d9e4eb57a;p=thirdparty%2Ffreeradius-server.git Ensure correct python-config is used on RHEL 8 --- diff --git a/redhat/freeradius.spec b/redhat/freeradius.spec index a783fe7717f..baca66b5204 100644 --- a/redhat/freeradius.spec +++ b/redhat/freeradius.spec @@ -629,6 +629,9 @@ export RADIUSD_VERSION_RELEASE="%{release}" %{autoconf_mod_with rlm_mruby} \ %{autoconf_mod_with rlm_opendirectory} \ %{autoconf_mod_with rlm_python} \ +%if 0%{?rhel} < 9 + --with-rlm-python-config-bin=/usr/bin/python3.8-config \ +%endif %{autoconf_mod_with rlm_securid} \ %{autoconf_mod_with rlm_sigtran} \ %{autoconf_mod_with rlm_sql_oracle} \