From e4cd6c93386ee3a6a6dddc17378845b8ca7b2e45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Tue, 11 Mar 2014 15:49:48 +0100 Subject: [PATCH] Patch configure.ac to build in rawhide --- lldpad-0.9.46-subdir-objects.patch | 11 +++++++++++ lldpad.spec | 3 +++ 2 files changed, 14 insertions(+) create mode 100644 lldpad-0.9.46-subdir-objects.patch diff --git a/lldpad-0.9.46-subdir-objects.patch b/lldpad-0.9.46-subdir-objects.patch new file mode 100644 index 0000000..27dd2f7 --- /dev/null +++ b/lldpad-0.9.46-subdir-objects.patch @@ -0,0 +1,11 @@ +diff --git a/configure.ac b/configure.ac +index 119ab58..de7e402 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1,5 +1,5 @@ + AC_INIT([lldpad], [0.9.46], [lldp-devel@open-lldp.org]) +-AM_INIT_AUTOMAKE([-Wall -Werror foreign]) ++AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects]) + + m4_pattern_allow([AM_PROG_AR]) + AM_PROG_AR diff --git a/lldpad.spec b/lldpad.spec index d0183a0..3132686 100644 --- a/lldpad.spec +++ b/lldpad.spec @@ -9,6 +9,7 @@ Group: System Environment/Daemons License: GPLv2 URL: http://open-lldp.org/ Source0: %{name}-%{version}.tar.gz +Patch0: lldpad-0.9.46-subdir-objects.patch BuildRequires: automake autoconf libtool BuildRequires: flex >= 2.5.33 BuildRequires: kernel-headers >= 2.6.32 @@ -40,6 +41,7 @@ that use %{name}. %prep %setup -q +%patch0 -p1 %build ./bootstrap.sh @@ -103,6 +105,7 @@ fi %changelog * Tue Mar 11 2014 Petr Šabata - 0.9.46-4 - Drop the explicit kernel runtime dependency +- Patch configure.ac to build in rawhide * Wed Jul 31 2013 Petr Šabata - 0.9.46-3 - Require 'systemd' instead of 'systemd-units'