diff --git a/audit-no_m4_dir.patch b/audit-no_m4_dir.patch new file mode 100644 index 0000000..2d5250a --- /dev/null +++ b/audit-no_m4_dir.patch @@ -0,0 +1,15 @@ +From: Maximilian Meister +Subject: Remove AC_CONFIG_MACRO_DIR([m4]) from configure.ac + +audit cannnot build with automake-1.13.1 when looking for a m4 directory + +--- configure.ac.orig 2013-04-26 13:09:46.019388414 +0200 ++++ configure.ac 2013-04-26 13:10:54.607385058 +0200 +@@ -35,7 +35,6 @@ + + echo Configuring auditd $VERSION + +-AC_CONFIG_MACRO_DIR([m4]) + AC_CANONICAL_TARGET + AM_INIT_AUTOMAKE + AM_PROG_LIBTOOL diff --git a/audit.changes b/audit.changes index de5e048..9125f69 100644 --- a/audit.changes +++ b/audit.changes @@ -1,11 +1,17 @@ +------------------------------------------------------------------- +Fri Apr 26 11:14:39 UTC 2013 - mmeister@suse.com + +- audit-no_m4_dir.patch: Removed AC_CONFIG_MACRO_DIR([m4]) from + configure.ac to fix build with new automake + ------------------------------------------------------------------- Mon Mar 25 17:25:31 UTC 2013 - crrodriguez@opensuse.org - --with-libcap-ng=yes has no effect if libcap-ng is not -buildrequired and the lack of those requires causes a broken -configure script after autoreconf add pkgconfig(libcap-ng) -to both audit and audit-secondary, cap-ng is actually only -use in the latter. + buildrequired and the lack of those requires causes a broken + configure script after autoreconf add pkgconfig(libcap-ng) + to both audit and audit-secondary, cap-ng is actually only + use in the latter. ------------------------------------------------------------------- Mon Mar 25 16:58:10 UTC 2013 - crrodriguez@opensuse.org diff --git a/audit.spec b/audit.spec index d2f5601..583af0a 100644 --- a/audit.spec +++ b/audit.spec @@ -29,6 +29,7 @@ Source3: baselibs.conf Source4: README-BEFORE-ADDING-PATCHES Patch2: audit-no_plugins.patch Patch3: audit-no-gss.patch +Patch4: audit-no_m4_dir.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf >= 2.12 BuildRequires: gcc-c++ @@ -81,6 +82,7 @@ libraries. %setup -q %patch2 -p1 %patch3 -p1 +%patch4 %build autoreconf -fi