summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-01-22 11:47:14 +0100
committerRemi Collet <fedora@famillecollet.com>2014-01-22 11:47:14 +0100
commit916be9a55668f7a7bf513429516cb4afa428b5a1 (patch)
tree89265b678cac4eeb269a83333789641cf6de7956
parent9550b31d98613f54c9bca67d12fb071298bb6dce (diff)
ssdeep: cleanup build path (comment from review #1056460)
-rw-r--r--ssdeep.spec12
1 files changed, 11 insertions, 1 deletions
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 <remi@fedoraproject.org> - 2.10-2
+- cleanup build path (comment from review #1056460)
+
* Wed Jan 22 2014 Remi Collet <remi@fedoraproject.org> - 2.10-1
- initial package \ No newline at end of file