man: fix topic/title(s)

Resolves: rhbz#1294252
Version: 3.2.0-3
This commit is contained in:
Pavel Raiskup 2016-05-16 07:41:16 +02:00
parent 7827061904
commit 20b4c54be1

View File

@ -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 <praiskup@redhat.com> - 3.2.0-3
- fix the manual pages for remaining issue (rhbz#1294252)
* Thu May 12 2016 Pavel Raiskup <praiskup@redhat.com> - 3.2.0-2
- fix manual pages to mention correctly spelled binary names (rhbz#1294252)