Fix build for new fedora
Related: rhbz#1996926
This commit is contained in:
parent
882aacfc9b
commit
f9aa33ba7a
@ -47,7 +47,7 @@ an OpenID Connect Relying Party and/or OAuth 2.0 Resource Server.
|
|||||||
# workaround rpm-buildroot-usage
|
# workaround rpm-buildroot-usage
|
||||||
export MODULES_DIR=%{_httpd_moddir}
|
export MODULES_DIR=%{_httpd_moddir}
|
||||||
export APXS2_OPTS='-S LIBEXECDIR=${MODULES_DIR}'
|
export APXS2_OPTS='-S LIBEXECDIR=${MODULES_DIR}'
|
||||||
autoreconf
|
autoreconf -vfi
|
||||||
%configure \
|
%configure \
|
||||||
--with-jq=/usr/lib64/ \
|
--with-jq=/usr/lib64/ \
|
||||||
%{?_with_hiredis} \
|
%{?_with_hiredis} \
|
||||||
@ -64,7 +64,7 @@ autoreconf
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_httpd_moddir}
|
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}
|
install -m 755 -d $RPM_BUILD_ROOT%{_httpd_modconfdir}
|
||||||
echo 'LoadModule auth_openidc_module modules/mod_auth_openidc.so' > \
|
echo 'LoadModule auth_openidc_module modules/mod_auth_openidc.so' > \
|
||||||
|
Loading…
Reference in New Issue
Block a user