Properly %set_build_flags

This commit is contained in:
Jan Staněk 2020-06-15 12:23:11 +02:00
parent 4e12cd0d86
commit 7a769f7071
No known key found for this signature in database
GPG Key ID: 2972F2037B243B6D

View File

@ -3,7 +3,7 @@
Name: lmdb
Version: 0.9.24
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Memory-mapped key-value database
License: OpenLDAP
@ -54,7 +54,8 @@ The %{name}-doc package contains automatically generated documentation for %{nam
%build
pushd %{archive_path}
%make_build XCFLAGS="%{optflags}"
%set_build_flags
%make_build XCFLAGS="%{build_cflags}"
# Build doxygen documentation
doxygen
# remove unpackaged files
@ -116,6 +117,9 @@ popd
%changelog
* Mon Jun 15 2020 Jan Staněk <jstanek@redhat.com> - 0.9.24-3
- Properly %%set_build_flags
* Thu Apr 02 2020 Björn Esser <besser82@fedoraproject.org> - 0.9.24-2
- Fix string quoting for rpm >= 4.16