From 1225667fb6fc0796839058d31af9edd7140518e9 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Jun 20 2018 00:04:39 +0000 Subject: Fix bug in fix-info-dir. --- diff --git a/texinfo-6.5-fix-info-dir.patch b/texinfo-6.5-fix-info-dir.patch new file mode 100644 index 0000000..80eec4c --- /dev/null +++ b/texinfo-6.5-fix-info-dir.patch @@ -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 diff --git a/texinfo.spec b/texinfo.spec index 103ff7c..b081f00 100644 --- a/texinfo.spec +++ b/texinfo.spec @@ -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 - 6.5-5 +- Fix bug in fix-info-dir which prevented the transfiletriggerpostun script + from working properly. + * Fri Mar 30 2018 Tom Callaway - 6.5-4 - update texinfo.tex