Fix build for new fedora

Related: rhbz#1996926
This commit is contained in:
Tomas Halman 2022-04-26 13:40:39 +02:00
parent 882aacfc9b
commit f9aa33ba7a

View File

@ -47,7 +47,7 @@ an OpenID Connect Relying Party and/or OAuth 2.0 Resource Server.
# workaround rpm-buildroot-usage
export MODULES_DIR=%{_httpd_moddir}
export APXS2_OPTS='-S LIBEXECDIR=${MODULES_DIR}'
autoreconf
autoreconf -vfi
%configure \
--with-jq=/usr/lib64/ \
%{?_with_hiredis} \
@ -64,7 +64,7 @@ autoreconf
%install
mkdir -p $RPM_BUILD_ROOT%{_httpd_moddir}
make install MODULES_DIR=$RPM_BUILD_ROOT%{_httpd_moddir}
make install DESTDIR=$RPM_BUILD_ROOT MODULES_DIR=$RPM_BUILD_ROOT%{_httpd_moddir}
install -m 755 -d $RPM_BUILD_ROOT%{_httpd_modconfdir}
echo 'LoadModule auth_openidc_module modules/mod_auth_openidc.so' > \