From f52a570628f4f43299cc3ae920feece779ec5c70488fb085ea8e5d2564f45be4 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 29 Dec 2011 23:15:59 +0000 Subject: [PATCH] Add libmnl require OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnetfilter_acct?expand=0&rev=2 --- libnetfilter_acct.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libnetfilter_acct.spec b/libnetfilter_acct.spec index 8d9932c..c536673 100644 --- a/libnetfilter_acct.spec +++ b/libnetfilter_acct.spec @@ -25,7 +25,8 @@ URL: http://netfilter.org/projects/libnetfilter_acct/ Source: %name-%version.tar.xz Source3: baselibs.conf BuildRoot: %_tmppath/%name-%version-build -BuildRequires: automake, libtool, pkgconfig xz +BuildRequires: automake, libtool, pkgconfig, xz +BuildRequires: pkgconfig(libmnl) >= 1.0.0 Summary: Userspace library for the in-kernel Netfilter counters %description @@ -53,6 +54,9 @@ Netfilter extended accounting infrastructure. %setup -q %build +if [ ! -e configure ]; then + autoreconf -fi; +fi; %configure --disable-static --includedir=%_includedir/%name-%version make %{?_smp_mflags}