From 2f1af9cb7c87f1242106d98e950e17d8639993dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Tue, 18 Mar 2014 13:34:16 +0100 Subject: [PATCH] Apply proper LDFLAGS --- fdupes.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/fdupes.spec b/fdupes.spec index 310fa13..b2c7e19 100644 --- a/fdupes.spec +++ b/fdupes.spec @@ -16,6 +16,8 @@ Patch0: fdupes-1.51-destdir.patch Patch1: fdupes-1.50-typo.patch # Fix CVE Patch2: fdupes-1.51-check-permissions.patch +# Apply proper LDFLAGS +Patch3: fdupes-1.51-obey-ldflags.patch %description @@ -28,10 +30,13 @@ directories. %patch2 -p1 -b .cve %patch0 -p1 -b .destdir %patch1 -p1 -b .typo +%patch3 -p1 -b .ldflags %build -make %{?_smp_mflags} COMPILER_OPTIONS="%{optflags}" +make %{?_smp_mflags} \ + COMPILER_OPTIONS="%{?optflags}" \ + LDFLAGS="%{?__global_ldflags}" %check @@ -61,6 +66,7 @@ install -m 0644 %{SOURCE1} %{buildroot}%{macrosdir}/macros.d/ %changelog * Tue Mar 18 2014 Björn Esser - 1.51-4 - Place rpm-macros into proper location using %%global macrosdir +- Apply proper LDFLAGS * Sun Jan 19 2014 Ville Skyttä - 1.51-3 - Move macros to %%{_rpmconfigdir}/macros.d.