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}