Apply proper LDFLAGS

epel9
Björn Esser 11 years ago
parent cdec22facc
commit 2f1af9cb7c

@ -16,6 +16,8 @@ Patch0: fdupes-1.51-destdir.patch
Patch1: fdupes-1.50-typo.patch Patch1: fdupes-1.50-typo.patch
# Fix CVE # Fix CVE
Patch2: fdupes-1.51-check-permissions.patch Patch2: fdupes-1.51-check-permissions.patch
# Apply proper LDFLAGS
Patch3: fdupes-1.51-obey-ldflags.patch
%description %description
@ -28,10 +30,13 @@ directories.
%patch2 -p1 -b .cve %patch2 -p1 -b .cve
%patch0 -p1 -b .destdir %patch0 -p1 -b .destdir
%patch1 -p1 -b .typo %patch1 -p1 -b .typo
%patch3 -p1 -b .ldflags
%build %build
make %{?_smp_mflags} COMPILER_OPTIONS="%{optflags}" make %{?_smp_mflags} \
COMPILER_OPTIONS="%{?optflags}" \
LDFLAGS="%{?__global_ldflags}"
%check %check
@ -61,6 +66,7 @@ install -m 0644 %{SOURCE1} %{buildroot}%{macrosdir}/macros.d/
%changelog %changelog
* Tue Mar 18 2014 Björn Esser <bjoern.esser@gmail.com> - 1.51-4 * Tue Mar 18 2014 Björn Esser <bjoern.esser@gmail.com> - 1.51-4
- Place rpm-macros into proper location using %%global macrosdir - Place rpm-macros into proper location using %%global macrosdir
- Apply proper LDFLAGS
* Sun Jan 19 2014 Ville Skyttä <ville.skytta@iki.fi> - 1.51-3 * Sun Jan 19 2014 Ville Skyttä <ville.skytta@iki.fi> - 1.51-3
- Move macros to %%{_rpmconfigdir}/macros.d. - Move macros to %%{_rpmconfigdir}/macros.d.

Loading…
Cancel
Save