diff --git a/automake-1_13.patch b/automake-1_13.patch new file mode 100644 index 0000000..3104b81 --- /dev/null +++ b/automake-1_13.patch @@ -0,0 +1,12 @@ +diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile -x Makefile.in ../orig-freeipmi-1.2.5/configure.ac ./configure.ac +--- ../orig-freeipmi-1.2.5/configure.ac 2013-02-26 23:25:53.000000000 +0100 ++++ ./configure.ac 2013-02-28 12:03:24.843417885 +0100 +@@ -22,7 +22,7 @@ + AM_INIT_AUTOMAKE([tar-ustar subdir-objects 1.9]) + + dnl create a config.h file +-AM_CONFIG_HEADER([config/config.h]) ++AC_CONFIG_HEADERS([config/config.h]) + + dnl define output files + AC_CONFIG_FILES([ diff --git a/freeipmi.changes b/freeipmi.changes index 2bd4270..8a2c820 100644 --- a/freeipmi.changes +++ b/freeipmi.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 28 11:18:34 UTC 2013 - kkaempf@suse.com + +- fix for automake 1.13 + ------------------------------------------------------------------- Thu Feb 28 08:02:52 UTC 2013 - kkaempf@suse.com diff --git a/freeipmi.spec b/freeipmi.spec index 8190021..1b49e02 100644 --- a/freeipmi.spec +++ b/freeipmi.spec @@ -33,7 +33,9 @@ Release: %{release} Url: http://www.gnu.org/software/freeipmi/ Source: ftp://ftp.gnu.org/gnu/freeipmi/%{name}-%{version}.tar.bz2 # buffer overflow, reported upstream, kkaempf@suse.de -Patch: fix-buffer-overflow.patch +Patch1: fix-buffer-overflow.patch +# Automake 1.13 needs AC_CONFIG_HEADERS, kkaempf@suse.de +Patch2: automake-1_13.patch Summary: FreeIPMI License: GPL-3.0+ Group: System/Management @@ -101,7 +103,8 @@ This service detects and monitors IPMI nodes. %prep %setup -q -%patch -p1 +%patch1 -p1 +%patch2 -p1 %build %if 0%{?suse_version} >= 1110