From 20b4c54be15a28d8ab522e3c13104b30abb5ddd3 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Mon, 16 May 2016 07:41:16 +0200 Subject: [PATCH] man: fix topic/title(s) Resolves: rhbz#1294252 Version: 3.2.0-3 --- libarchive.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/libarchive.spec b/libarchive.spec index f2428a2..a3fab02 100644 --- a/libarchive.spec +++ b/libarchive.spec @@ -1,6 +1,6 @@ Name: libarchive Version: 3.2.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A library for handling streaming archive formats License: BSD @@ -89,8 +89,12 @@ replace () binary=${file%%.*} pattern=${binary##bsd} - awk " + # replace the topic + /^.Dt ${pattern^^} 1/ { + print \".Dt ${binary^^} 1\"; + next; + } # replace the first occurence of \"$pattern\" by \"$binary\" !stop && /^.Nm $pattern/ { print \".Nm $binary\" ; @@ -182,6 +186,9 @@ run_testsuite %changelog +* Mon May 16 2016 Pavel Raiskup - 3.2.0-3 +- fix the manual pages for remaining issue (rhbz#1294252) + * Thu May 12 2016 Pavel Raiskup - 3.2.0-2 - fix manual pages to mention correctly spelled binary names (rhbz#1294252)