Use make_build macro

This will make it possible for buildroots to inject arguments to make by
redefining the %__make macro.
This commit is contained in:
Tom Stellard 2020-01-17 03:48:31 +00:00
parent bce436644b
commit 5b44a49522

View File

@ -3,7 +3,7 @@
Name: lmdb Name: lmdb
Version: 0.9.23 Version: 0.9.23
Release: 4%{?dist} Release: 5%{?dist}
Summary: Memory-mapped key-value database Summary: Memory-mapped key-value database
License: OpenLDAP License: OpenLDAP
@ -56,7 +56,7 @@ The %{name}-doc package contains automatically generated documentation for %{nam
%build %build
pushd %{archive_path} pushd %{archive_path}
make XCFLAGS="%{optflags}" %{?_smp_mflags} %make_build XCFLAGS="%{optflags}"
# Build doxygen documentation # Build doxygen documentation
doxygen doxygen
# remove unpackaged files # remove unpackaged files
@ -118,6 +118,9 @@ popd
%changelog %changelog
* Thu Jan 30 2020 Tom Stellard <tstellar@redhat.com> - 0.9.23-5
- Use make_build macro
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.23-4 * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.23-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild