diff --git a/mod_auth_openidc.spec b/mod_auth_openidc.spec index 8e4d05f..4d68a21 100644 --- a/mod_auth_openidc.spec +++ b/mod_auth_openidc.spec @@ -15,7 +15,7 @@ Name: mod_auth_openidc Version: 1.8.8 -Release: 3%{?dist} +Release: 4%{?dist} Summary: OpenID Connect auth module for Apache HTTP Server Group: System Environment/Daemons @@ -42,8 +42,8 @@ an OpenID Connect Relying Party and/or OAuth 2.0 Resource Server. %build # workaround rpm-buildroot-usage -export APXS2_OPTS='-S LIBEXECDIR=${MODULES_DIR}' export MODULES_DIR=%{_httpd_moddir} +export APXS2_OPTS='-S LIBEXECDIR=${MODULES_DIR}' autoreconf %configure \ %{?_with_hiredis} \ @@ -51,6 +51,10 @@ autoreconf make %{?_smp_mflags} +%check +export MODULES_DIR=%{_httpd_moddir} +make %{?_smp_mflags} test + %install mkdir -p $RPM_BUILD_ROOT%{_httpd_moddir} make install MODULES_DIR=$RPM_BUILD_ROOT%{_httpd_moddir}