update to use correct apxs via _httpd_apxs macro

This commit is contained in:
Joe Orton 2020-08-27 16:51:19 +01:00
parent 3eeb6c1a62
commit 44b9091466

View File

@ -15,7 +15,7 @@
Name: mod_auth_openidc Name: mod_auth_openidc
Version: 2.4.3 Version: 2.4.3
Release: 4%{?dist} Release: 5%{?dist}
Summary: OpenID Connect auth module for Apache HTTP Server Summary: OpenID Connect auth module for Apache HTTP Server
License: ASL 2.0 License: ASL 2.0
@ -52,14 +52,15 @@ autoreconf
%configure \ %configure \
--with-jq=/usr/lib64/ \ --with-jq=/usr/lib64/ \
%{?_with_hiredis} \ %{?_with_hiredis} \
%{?_without_hiredis} %{?_without_hiredis} \
--with-apxs2=%{_httpd_apxs}
%{make_build} %{make_build}
%check %check
export MODULES_DIR=%{_httpd_moddir} export MODULES_DIR=%{_httpd_moddir}
export APXS2_OPTS='-S LIBEXECDIR=${MODULES_DIR}' export APXS2_OPTS='-S LIBEXECDIR=${MODULES_DIR}'
%{make_build} test make test
%install %install
mkdir -p $RPM_BUILD_ROOT%{_httpd_moddir} mkdir -p $RPM_BUILD_ROOT%{_httpd_moddir}
@ -95,6 +96,9 @@ install -m 700 -d $RPM_BUILD_ROOT%{httpd_pkg_cache_dir}/cache
%dir %attr(0700, apache, apache) %{httpd_pkg_cache_dir}/cache %dir %attr(0700, apache, apache) %{httpd_pkg_cache_dir}/cache
%changelog %changelog
* Thu Aug 27 2020 Joe Orton <jorton@redhat.com> - 2.4.3-5
- update to use correct apxs via _httpd_apxs macro
* Thu Aug 27 2020 Joe Orton <jorton@redhat.com> - 2.4.3-4 * Thu Aug 27 2020 Joe Orton <jorton@redhat.com> - 2.4.3-4
- work around LTO build failure - work around LTO build failure