Use make_build macro instead of just make
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make
This commit is contained in:
parent
7a678fadd7
commit
0d28b81525
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
Name: mod_auth_openidc
|
Name: mod_auth_openidc
|
||||||
Version: 2.4.1
|
Version: 2.4.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?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,12 +52,12 @@ autoreconf
|
|||||||
%{?_with_hiredis} \
|
%{?_with_hiredis} \
|
||||||
%{?_without_hiredis}
|
%{?_without_hiredis}
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
%{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 test
|
%{make_build} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_httpd_moddir}
|
mkdir -p $RPM_BUILD_ROOT%{_httpd_moddir}
|
||||||
@ -93,6 +93,10 @@ 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 Feb 13 2020 Tom Stellard <tstellar@redhat.com> - 2.4.1-2
|
||||||
|
- Use make_build macro instead of just make
|
||||||
|
- https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make
|
||||||
|
|
||||||
* Mon Feb 3 2020 Jakub Hrozek <jhrozek@redhat.com> - 2.4.1-1
|
* Mon Feb 3 2020 Jakub Hrozek <jhrozek@redhat.com> - 2.4.1-1
|
||||||
- New upstream version 2.4.1
|
- New upstream version 2.4.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user