Use make_build macro instead of just make
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make
This commit is contained in:
parent
ac12abf571
commit
af1c32be81
@ -21,7 +21,7 @@
|
||||
|
||||
Name: mod_wsgi
|
||||
Version: 4.6.8
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: A WSGI interface for Python web applications in Apache
|
||||
License: ASL 2.0
|
||||
URL: https://modwsgi.readthedocs.io/
|
||||
@ -97,14 +97,14 @@ mkdir py3build/
|
||||
cp -R * py3build/ || :
|
||||
pushd py3build
|
||||
%configure --enable-shared --with-apxs=%{_httpd_apxs} --with-python=python3
|
||||
make %{?_smp_mflags}
|
||||
%{make_build}
|
||||
%py3_build
|
||||
popd
|
||||
%endif
|
||||
|
||||
%if 0%{?with_python2} > 0
|
||||
%configure --enable-shared --with-apxs=%{_httpd_apxs} --with-python=python2
|
||||
make %{?_smp_mflags}
|
||||
%{make_build}
|
||||
%py2_build
|
||||
%endif
|
||||
|
||||
@ -162,6 +162,10 @@ ln -s %{_bindir}/mod_wsgi-express-2 $RPM_BUILD_ROOT%{_bindir}/mod_wsgi-express
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Feb 13 2020 Tom Stellard <tstellar@redhat.com> - 4.6.8-3
|
||||
- Use make_build macro instead of just make
|
||||
- https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.6.8-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user