From f9aa33ba7a7fd8ae3ad462d18c4287cb7a4c1ec3 Mon Sep 17 00:00:00 2001 From: Tomas Halman Date: Tue, 26 Apr 2022 13:40:39 +0200 Subject: [PATCH] Fix build for new fedora Related: rhbz#1996926 --- mod_auth_openidc.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod_auth_openidc.spec b/mod_auth_openidc.spec index 52229ac..94f7d35 100644 --- a/mod_auth_openidc.spec +++ b/mod_auth_openidc.spec @@ -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' > \