Fix bug in fix-info-dir.

This commit is contained in:
Jason Tibbitts 2018-06-19 19:04:39 -05:00
parent c419aa4dff
commit 1225667fb6
2 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,13 @@
diff --git a/contrib/fix-info-dir b/contrib/fix-info-dir
index 4439ada..c054787 100755
--- a/contrib/fix-info-dir
+++ b/contrib/fix-info-dir
@@ -294,7 +294,7 @@ else
DONE_MSG="total invalid menu item(s) were removed from `pwd`/$DIR_FILE"
for Info_Name in `comm -23 $TMP_FILE1 $TMP_FILE2`; do
Changed="y"
- if install-info --remove $Info_Name $DIR_FILE; then
+ if install-info --remove --remove-exactly $Info_Name $DIR_FILE; then
Total=`expr "$Total" + "1"`
fi
done

View File

@ -3,7 +3,7 @@
Summary: Tools needed to create Texinfo format documentation files
Name: texinfo
Version: 6.5
Release: 4%{?dist}
Release: 5%{?dist}
License: GPLv3+
Url: http://www.gnu.org/software/texinfo/
Source0: ftp://ftp.gnu.org/gnu/texinfo/texinfo-%{version}.tar.xz
@ -19,6 +19,9 @@ Patch2: texinfo-6.1-install-info-use-create-tmp-then-rename-pattern.patch
Patch3: info-6.5-sync-fix-info-dir.patch
# Update to 2018-03-10 texinfo.tex
Patch4: texinfo-20180310-texinfo.tex.patch
# rhbz#1592433, bug in fix-info-dir --delete
Patch5: texinfo-6.5-fix-info-dir.patch
BuildRequires: gcc
BuildRequires: perl-generators
BuildRequires: zlib-devel, ncurses-devel, help2man, perl(Data::Dumper)
@ -144,6 +147,10 @@ export ALL_TESTS=yes
%{_mandir}/man1/pdftexi2dvi.1*
%changelog
* Tue Jun 19 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 6.5-5
- Fix bug in fix-info-dir which prevented the transfiletriggerpostun script
from working properly.
* Fri Mar 30 2018 Tom Callaway <spot@fedoraproject.org> - 6.5-4
- update texinfo.tex