From f772a2bd111ffad125d2c5e668ccd267730042fc Mon Sep 17 00:00:00 2001 From: Richard W.M. Jones Date: Jan 17 2014 14:07:01 +0000 Subject: autotools sucks --- diff --git a/hivex.spec b/hivex.spec index 4218d3f..f6ab67a 100644 --- a/hivex.spec +++ b/hivex.spec @@ -7,7 +7,7 @@ Name: hivex Version: 1.3.9 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Read and write Windows Registry binary hive files License: LGPLv2 @@ -17,6 +17,7 @@ Source0: http://libguestfs.org/download/hivex/%{name}-%{version}.tar.gz # Fix Perl directory install path. Patch0: %{name}-1.3.8-dirs.patch +BuildRequires: autoconf, automake, libtool, gettext-devel BuildRequires: perl BuildRequires: perl-Test-Simple @@ -156,6 +157,7 @@ ruby-%{name} contains Ruby bindings for %{name}. %setup -q %patch0 -p1 -b .dirs +autoreconf -i %build %configure @@ -262,7 +264,7 @@ rm $RPM_BUILD_ROOT%{python_sitearch}/libhivexmod.la %changelog -* Fri Jan 17 2014 Richard W.M. Jones - 1.3.9-1 +* Fri Jan 17 2014 Richard W.M. Jones - 1.3.9-2 - New upstream version 1.3.9. - Remove patches which are now upstream.