diff --git a/nftables.spec b/nftables.spec index af2e764..5bac47c 100644 --- a/nftables.spec +++ b/nftables.spec @@ -27,6 +27,8 @@ Group: Productivity/Networking/Security #Git-Clone: git://git.netfilter.org/nftables Source: %name-%version.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: autoconf +BuildRequires: automake BuildRequires: bison BuildRequires: flex BuildRequires: gmp-devel @@ -41,6 +43,7 @@ BuildRequires: pkgconfig(libnftables) %setup -qn %name %build +autoreconf -fi %configure make %{?_smp_mflags} @@ -49,5 +52,7 @@ make install DESTDIR="%buildroot"; %files %defattr(-,root,root) +%config %_sysconfdir/nftables +%_sbindir/nft %changelog