Jan Engelhardt 2014-08-06 06:44:12 +00:00 committed by Git OBS Bridge
parent d2f222794c
commit 2ec2a95a1f

View File

@ -31,6 +31,7 @@ Source2: http://xtables.de/files/nftables-plus-%version.tar.asc
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: bison BuildRequires: bison
BuildRequires: dblatex BuildRequires: dblatex
BuildRequires: docbook2x
BuildRequires: flex BuildRequires: flex
BuildRequires: gmp-devel BuildRequires: gmp-devel
BuildRequires: pkgconfig >= 0.21 BuildRequires: pkgconfig >= 0.21
@ -65,6 +66,9 @@ ruleset updates.
%setup -qn %name-plus-%version %setup -qn %name-plus-%version
%build %build
mkdir bin
ln -s "%_bindir/docbook-to-man" bin/docbook2x-man
export PATH="$PATH:$PWD/bin"
%configure --docdir="%_docdir/%name" %configure --docdir="%_docdir/%name"
make %{?_smp_mflags} make %{?_smp_mflags}
@ -78,5 +82,6 @@ cp -a COPYING "$b/%_docdir/%name/"
%config %_sysconfdir/nftables %config %_sysconfdir/nftables
%_sbindir/nft %_sbindir/nft
%doc %_docdir/%name/ %doc %_docdir/%name/
%_mandir/man8/nft*
%changelog %changelog