From 0f2598cbbb37898f1018f58f43e7e08439493a33 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Thu, 3 Mar 2016 08:02:25 +0100 Subject: [PATCH] use the package name as program suite in man pages --- libwpg.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libwpg.spec b/libwpg.spec index 54e36d7..9953dd6 100644 --- a/libwpg.spec +++ b/libwpg.spec @@ -67,9 +67,9 @@ rm -rf %{buildroot}/%{_docdir}/%{name} # generate and install man pages export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} for tool in wpg2raw wpg2svg; do - help2man -N -o ${tool}.1 %{buildroot}%{_bindir}/${tool} + help2man -N -S '%{name} %{version}' -o ${tool}.1 %{buildroot}%{_bindir}/${tool} done -help2man -N -n 'batch convert WordPerfect Graphics files into SVG' \ +help2man -N -S '%{name} %{version}' -n 'batch convert WordPerfect Graphics files into SVG' \ --help-option=-h --version-string='wpg2svgbatch.pl %{version}' \ -o wpg2svgbatch.pl.1 ./src/conv/svg/wpg2svgbatch.pl install -m 0755 -d %{buildroot}/%{_mandir}/man1