Use make_build macro instead of just make

https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make
This commit is contained in:
Tom Stellard 2020-02-13 00:16:50 +00:00
parent 9143479f9d
commit 30ff0281ec

View File

@ -1,7 +1,7 @@
Summary: A SAML 2.0 authentication module for the Apache Httpd Server Summary: A SAML 2.0 authentication module for the Apache Httpd Server
Name: mod_auth_mellon Name: mod_auth_mellon
Version: 0.16.0 Version: 0.16.0
Release: 1%{?dist} Release: 2%{?dist}
Source0: https://github.com/latchset/mod_auth_mellon/releases/download/v0_16_0/mod_auth_mellon-0.16.0.tar.gz Source0: https://github.com/latchset/mod_auth_mellon/releases/download/v0_16_0/mod_auth_mellon-0.16.0.tar.gz
Source1: auth_mellon.conf Source1: auth_mellon.conf
Source2: 10-auth_mellon.conf Source2: 10-auth_mellon.conf
@ -34,12 +34,12 @@ received in assertions generated by a IdP server.
export APXS=%{_httpd_apxs} export APXS=%{_httpd_apxs}
%configure --enable-diagnostics %configure --enable-diagnostics
make clean make clean
make %{?_smp_mflags} %{make_build}
cp .libs/%{name}.so %{name}-diagnostics.so cp .libs/%{name}.so %{name}-diagnostics.so
%configure %configure
make clean make clean
make %{?_smp_mflags} %{make_build}
pushd doc/user_guide pushd doc/user_guide
asciidoctor -a data-uri mellon_user_guide.adoc asciidoctor -a data-uri mellon_user_guide.adoc
popd popd
@ -101,6 +101,10 @@ in the doc directory for instructions on using the diagnostics build.
%dir /run/%{name}/ %dir /run/%{name}/
%changelog %changelog
* Thu Feb 13 2020 Tom Stellard <tstellar@redhat.com> - 0.16.0-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> - 0.16.0-1 * Mon Feb 3 2020 Jakub Hrozek <jhrozek@redhat.com> - 0.16.0-1
- New upstream version 0.16.0 - New upstream version 0.16.0