From a5202f3722d01f04f33af83e593a0f3482987d17 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Feb 24 2018 11:06:50 +0000 Subject: Use LDFLAGS from redhat-rpm-config --- diff --git a/numactl.spec b/numactl.spec index 56368cd..d6e6135 100644 --- a/numactl.spec +++ b/numactl.spec @@ -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 - 2.0.11-8%{dist} +- Use LDFLAGS from redhat-rpm-config + * Fri Feb 09 2018 Igor Gnatenko - 2.0.11-7 - Escape macros in %%changelog