From 9a0d020de3b36eab71361fb008e4475c92911d24 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Thu, 3 Mar 2016 07:56:32 +0100 Subject: [PATCH] use the package name as program suite in man pages --- libstaroffice.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstaroffice.spec b/libstaroffice.spec index 91de4f1..8fdd90c 100644 --- a/libstaroffice.spec +++ b/libstaroffice.spec @@ -61,7 +61,7 @@ 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 sd2raw sd2svg sd2text sdc2csv sdw2html; do - help2man --no-discard-stderr -N -o ${tool}.1 %{buildroot}%{_bindir}/${tool} + help2man --no-discard-stderr -N -S '%{name} %{version}' -o ${tool}.1 %{buildroot}%{_bindir}/${tool} done install -m 0755 -d %{buildroot}/%{_mandir}/man1 install -m 0644 sd2*.1 sd?2*.1 %{buildroot}/%{_mandir}/man1