From 916be9a55668f7a7bf513429516cb4afa428b5a1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 22 Jan 2014 11:47:14 +0100 Subject: ssdeep: cleanup build path (comment from review #1056460) --- ssdeep.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/ssdeep.spec b/ssdeep.spec index 9147a5b..2f42db6 100644 --- a/ssdeep.spec +++ b/ssdeep.spec @@ -9,7 +9,7 @@ Name: ssdeep Version: 2.10 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Compute context triggered piecewise hashes Group: Development/Tools @@ -17,6 +17,9 @@ License: GPLv2+ URL: http://ssdeep.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz +# Drop /usr/local and /opt from build path +Patch0: %{name}-2.10-build.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: %{name}-libs%{?_isa} = %{version}-%{release} @@ -51,6 +54,10 @@ that use libfuzzy. %prep %setup -q +%patch0 -p1 -b .old +# avoid autotools being re-run +touch -r aclocal.m4 configure configure.ac + %build %configure --disable-static @@ -96,5 +103,8 @@ rm -rf %{buildroot} %changelog +* Wed Jan 22 2014 Remi Collet - 2.10-2 +- cleanup build path (comment from review #1056460) + * Wed Jan 22 2014 Remi Collet - 2.10-1 - initial package \ No newline at end of file -- cgit