Use LDFLAGS from redhat-rpm-config

This commit is contained in:
Florian Weimer 2018-02-24 12:06:50 +01:00
parent b6596df4db
commit 07ccb3479e
1 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
Name: numactl
Summary: Library for tuning for Non Uniform Memory Access machines
Version: 2.0.11
Release: 7%{dist}
Release: 8%{dist}
# libnuma is LGPLv2 and GPLv2
# numactl binaries are GPLv2 only
License: GPLv2
@ -40,7 +40,7 @@ Provides development headers for numa library calls
%setup -q -n %{name}-%{version}
%build
./configure --prefix=/usr --libdir=%{_libdir}
%configure --prefix=/usr --libdir=%{_libdir}
make clean
make CFLAGS="$RPM_OPT_FLAGS -I."
@ -80,6 +80,9 @@ make DESTDIR=$RPM_BUILD_ROOT install
%{_mandir}/man3/*.3*
%changelog
* Sat Feb 24 2018 Florian Weimer <fweimer@redhat.com> - 2.0.11-8%{dist}
- Use LDFLAGS from redhat-rpm-config
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.0.11-7
- Escape macros in %%changelog