Patch configure.ac to build in rawhide

This commit is contained in:
Petr Šabata 2014-03-11 15:49:48 +01:00
parent c9eb4fefe9
commit e4cd6c9338
2 changed files with 14 additions and 0 deletions

View File

@ -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

View File

@ -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 <contyk@redhat.com> - 0.9.46-4
- Drop the explicit kernel runtime dependency
- Patch configure.ac to build in rawhide
* Wed Jul 31 2013 Petr Šabata <contyk@redhat.com> - 0.9.46-3
- Require 'systemd' instead of 'systemd-units'