From 2ec2a95a1ffce5239b7b51a51d1a2998c39f4943eb0d8e68865e6f7b1d18bed9 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 6 Aug 2014 06:44:12 +0000 Subject: [PATCH] Add manpage OBS-URL: https://build.opensuse.org/package/show/security:netfilter/nftables?expand=0&rev=9 --- nftables.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nftables.spec b/nftables.spec index c9714dd..f5adaf1 100644 --- a/nftables.spec +++ b/nftables.spec @@ -31,6 +31,7 @@ Source2: http://xtables.de/files/nftables-plus-%version.tar.asc BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: bison BuildRequires: dblatex +BuildRequires: docbook2x BuildRequires: flex BuildRequires: gmp-devel BuildRequires: pkgconfig >= 0.21 @@ -65,6 +66,9 @@ ruleset updates. %setup -qn %name-plus-%version %build +mkdir bin +ln -s "%_bindir/docbook-to-man" bin/docbook2x-man +export PATH="$PATH:$PWD/bin" %configure --docdir="%_docdir/%name" make %{?_smp_mflags} @@ -78,5 +82,6 @@ cp -a COPYING "$b/%_docdir/%name/" %config %_sysconfdir/nftables %_sbindir/nft %doc %_docdir/%name/ +%_mandir/man8/nft* %changelog