|
|
|
@ -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 <bjoern.esser@gmail.com> - 1.51-4
|
|
|
|
|
- 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
|
|
|
|
|
- Move macros to %%{_rpmconfigdir}/macros.d.
|
|
|
|
|