diff --git a/info-6.5-sync-fix-info-dir.patch b/info-6.5-sync-fix-info-dir.patch new file mode 100644 index 0000000..dd10dce --- /dev/null +++ b/info-6.5-sync-fix-info-dir.patch @@ -0,0 +1,40 @@ +diff -uNr texinfo-6.5.orig/contrib/fix-info-dir texinfo-6.5/contrib/fix-info-dir +--- texinfo-6.5.orig/contrib/fix-info-dir 2014-04-22 03:56:56.000000000 +0200 ++++ texinfo-6.5/contrib/fix-info-dir 2018-02-04 13:48:35.979359350 +0100 +@@ -163,29 +163,23 @@ + { + + ### output the dir header +- echo "-*- Text -*-" +- echo "This file was generated automatically by $0." +- echo "This version was generated on `date`" +- echo "by `whoami`@`hostname` for `pwd`" + + cat<" visits the Emacs topic, etc. ++ "mEmacs" visits the Emacs manual, etc. + + In Emacs, you can click mouse button 2 on a menu item or cross reference + to select it. + +-* Menu: The list of major topics begins on the next line. +- ++* Menu: + DIR_FILE_END_OF_FILE + + ### go through the list of files in the skeleton. If an info file diff --git a/texinfo.spec b/texinfo.spec index 577859b..9d97edc 100644 --- a/texinfo.spec +++ b/texinfo.spec @@ -15,6 +15,8 @@ Patch0: texinfo-4.12-zlib.patch Patch1: texinfo-6.0-disable-failing-info-test.patch # Patch2: rhbz#1348671, because of OSTree Patch2: texinfo-6.1-install-info-use-create-tmp-then-rename-pattern.patch +# Patch3: we need to fix template fix-info-dir generates +Patch3: info-6.5-sync-fix-info-dir.patch BuildRequires: gcc BuildRequires: perl-generators BuildRequires: zlib-devel, ncurses-devel, help2man, perl(Data::Dumper)