diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..8933802
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+SOURCES/texinfo-6.5.tar.xz
diff --git a/.texinfo.metadata b/.texinfo.metadata
new file mode 100644
index 0000000..2689fd8
--- /dev/null
+++ b/.texinfo.metadata
@@ -0,0 +1 @@
+72a06b48862911c638787cc3307871b990a59726 SOURCES/texinfo-6.5.tar.xz
diff --git a/SOURCES/info-6.5-sync-fix-info-dir.patch b/SOURCES/info-6.5-sync-fix-info-dir.patch
new file mode 100644
index 0000000..dd10dce
--- /dev/null
+++ b/SOURCES/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<<DIR_FILE_END_OF_FILE
+-This is the file .../info/$DIR_FILE, which contains the topmost node of the
+-Info hierarchy.  The first time you invoke Info you start off
+-looking at that node, which is ($DIR_FILE)Top.
+-
++This is the file .../info/$DIR_FILE, which contains the
++topmost node of the Info hierarchy, called ($DIR_FILE)Top.
++The first time you invoke Info you start off looking at this node.
+ 
+-File: $DIR_FILE       Node: Top       This is the top of the INFO tree
++File: $DIR_FILE,	Node: Top	This is the top of the INFO tree
+ 
+   This (the Directory node) gives a menu of major topics.
+-  Typing "q" exits, "?" lists all Info commands, "d" returns here,
++  Typing "q" exits, "H" lists all Info commands, "d" returns here,
+   "h" gives a primer for first-timers,
+-  "mEmacs<Return>" visits the Emacs topic, etc.
++  "mEmacs<Return>" 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/SOURCES/macros.info b/SOURCES/macros.info
new file mode 100644
index 0000000..a889fbb
--- /dev/null
+++ b/SOURCES/macros.info
@@ -0,0 +1,15 @@
+%info_requires \
+Requires(post): /sbin/install-info \
+Requires(preun): /sbin/install-info
+
+%info_post() \
+if [ -f %{_infodir}/%1 ]; then # --excludedocs? \
+  /sbin/install-info %{_infodir}/%1 %{_infodir}/dir || : \
+fi
+
+%info_preun() \
+if [ $1 == 0 ]; then \
+  if [ -f %{_infodir}/%1 ]; then # --excludedocs? \
+    /sbin/install-info --delete %{_infodir}/%1 %{_infodir}/dir || : \
+  fi \
+fi
diff --git a/SOURCES/texinfo-4.12-zlib.patch b/SOURCES/texinfo-4.12-zlib.patch
new file mode 100644
index 0000000..0fc5bb4
--- /dev/null
+++ b/SOURCES/texinfo-4.12-zlib.patch
@@ -0,0 +1,236 @@
+diff -up texinfo-6.4/install-info/install-info.c.orig texinfo-6.4/install-info/install-info.c
+--- texinfo-6.4/install-info/install-info.c.orig	2016-03-04 18:52:26.000000000 +0100
++++ texinfo-6.4/install-info/install-info.c	2017-06-27 15:14:20.167998983 +0200
+@@ -22,6 +22,7 @@
+ #include <getopt.h>
+ #include <regex.h>
+ #include <argz.h>
++#include <zlib.h>
+ 
+ #define TAB_WIDTH 8
+ 
+@@ -684,15 +685,15 @@ The first time you invoke Info you start
+    
+    Return either stdin reading the file, or a non-stdin pipe reading
+    the output of the compression program.  */
+-FILE *
++void *
+ open_possibly_compressed_file (char *filename,
+     void (*create_callback) (char *),
+-    char **opened_filename, char **compression_program) 
++    char **opened_filename, char **compression_program, int *is_pipe)
+ {
+   char *local_opened_filename, *local_compression_program;
+   int nread;
+   char data[13];
+-  FILE *f;
++  gzFile *f;
+ 
+   /* We let them pass NULL if they don't want this info, but it's easier
+      to always determine it.  */
+@@ -700,48 +701,48 @@ open_possibly_compressed_file (char *fil
+     opened_filename = &local_opened_filename;
+ 
+   *opened_filename = filename;
+-  f = fopen (*opened_filename, FOPEN_RBIN);
++  f = gzopen (*opened_filename, FOPEN_RBIN);
+   if (!f)
+     {
+       *opened_filename = concat (filename, ".gz", "");
+-      f = fopen (*opened_filename, FOPEN_RBIN);
++      f = gzopen (*opened_filename, FOPEN_RBIN);
+     }
+   if (!f)
+     {
+       free (*opened_filename);
+       *opened_filename = concat (filename, ".xz", "");
+-      f = fopen (*opened_filename, FOPEN_RBIN);
++      f = gzopen (*opened_filename, FOPEN_RBIN);
+     }
+   if (!f)
+     {
+       free (*opened_filename);
+       *opened_filename = concat (filename, ".bz2", "");
+-      f = fopen (*opened_filename, FOPEN_RBIN);
++      f = gzopen (*opened_filename, FOPEN_RBIN);
+     }
+   if (!f)
+     {
+       free (*opened_filename);
+       *opened_filename = concat (filename, ".lz", "");
+-      f = fopen (*opened_filename, FOPEN_RBIN);
++      f = gzopen (*opened_filename, FOPEN_RBIN);
+     }
+   if (!f)
+     {
+      free (*opened_filename);
+      *opened_filename = concat (filename, ".lzma", "");
+-     f = fopen (*opened_filename, FOPEN_RBIN);
++     f = gzopen (*opened_filename, FOPEN_RBIN);
+     }
+ #ifdef __MSDOS__
+   if (!f)
+     {
+       free (*opened_filename);
+       *opened_filename = concat (filename, ".igz", "");
+-      f = fopen (*opened_filename, FOPEN_RBIN);
++      f = gzopen (*opened_filename, FOPEN_RBIN);
+     }
+   if (!f)
+     {
+       free (*opened_filename);
+       *opened_filename = concat (filename, ".inz", "");
+-      f = fopen (*opened_filename, FOPEN_RBIN);
++      f = gzopen (*opened_filename, FOPEN_RBIN);
+     }
+ #endif /* __MSDOS__ */
+   if (!f)
+@@ -757,7 +758,7 @@ open_possibly_compressed_file (char *fil
+           (*create_callback) (filename);
+ 
+           /* And try opening it again.  */
+-          f = fopen (*opened_filename, FOPEN_RBIN);
++          f = gzopen (*opened_filename, FOPEN_RBIN);
+           if (!f)
+             return 0;
+         }
+@@ -767,26 +768,26 @@ open_possibly_compressed_file (char *fil
+ 
+   /* Read first few bytes of file rather than relying on the filename.
+      If the file is shorter than this it can't be usable anyway.  */
+-  nread = fread (data, sizeof (data), 1, f);
+-  if (nread != 1)
++  nread = gzread (f, data, sizeof (data));
++  if (nread != sizeof (data))
+     {
+-      if (nread == 0)
++      if (nread >= 0)
+         {
+           /* Try to create the file if its empty. */
+-          if (feof (f) && create_callback)
++          if (gzeof (f) && create_callback)
+             {
+-              if (fclose (f) != 0)
++              if (gzclose (f) < 0)
+                 return 0; /* unknown error closing file */
+ 
+               if (remove (filename) != 0)
+                 return 0; /* unknown error deleting file */
+ 
+               (*create_callback) (filename);
+-              f = fopen (*opened_filename, FOPEN_RBIN);
++              f = gzopen (*opened_filename, FOPEN_RBIN);
+               if (!f)
+                 return 0;
+-              nread = fread (data, sizeof (data), 1, f);
+-              if (nread == 0)
++              nread = gzread (f, data, sizeof (data));
++              if (nread <= 0)
+                 return 0;
+               goto determine_file_type; /* success */
+             }
+@@ -857,35 +858,40 @@ determine_file_type:
+     *compression_program = NULL;
+ 
+   /* Seek back over the magic bytes.  */
+-  if (fseek (f, 0, 0) < 0)
++  if (gzseek (f, 0, SEEK_SET) == -1)
+     return 0;
+ 
+   if (*compression_program)
+     { /* It's compressed, so open a pipe.  */
++      FILE *p;
+       char *command = concat (*compression_program, " -d", "");
+ 
+-      if (fclose (f) < 0)
++      if (gzclose (f) < 0)
+         return 0;
+-      f = freopen (*opened_filename, FOPEN_RBIN, stdin);
+-      if (!f)
++      p = freopen (*opened_filename, FOPEN_RBIN, stdin);
++      if (!p)
+         return 0;
+-      f = popen (command, "r");
+-      if (!f)
++      p = popen (command, "r");
++      if (!p)
+         {
+           /* Used for error message in calling code. */
+           *opened_filename = command;
+           return 0;
+         }
++      else
++        *is_pipe = 1;
++      return p;
+     }
+   else
+     {
+-#if O_BINARY
++#if 0 && O_BINARY
+       /* Since this is a text file, and we opened it in binary mode,
+          switch back to text mode.  */
+       f = freopen (*opened_filename, "r", f);
+       if (! f)
+ 	return 0;
+ #endif
++      *is_pipe = 0;
+     }
+ 
+   return f;
+@@ -904,7 +910,8 @@ readfile (char *filename, int *sizep,
+     void (*create_callback) (char *), char **opened_filename,
+     char **compression_program)
+ {
+-  FILE *f;
++  void *f;
++  int pipe_p;
+   int filled = 0;
+   int data_size = 8192;
+   char *data = xmalloc (data_size);
+@@ -912,14 +919,20 @@ readfile (char *filename, int *sizep,
+   /* If they passed the space for the file name to return, use it.  */
+   f = open_possibly_compressed_file (filename, create_callback,
+                                      opened_filename,
+-                                     compression_program);
++                                     compression_program,
++                                     &pipe_p);
+ 
+   if (!f)
+     return 0;
+ 
+   for (;;)
+     {
+-      int nread = fread (data + filled, 1, data_size - filled, f);
++      int nread;
++
++      if (pipe_p)
++        nread = fread (data + filled, 1, data_size - filled, f);
++      else
++        nread = gzread (f, data + filled, data_size - filled);
+       if (nread < 0)
+         return 0;
+       if (nread == 0)
+@@ -938,8 +951,10 @@ readfile (char *filename, int *sizep,
+   /* We need to close the stream, since on some systems the pipe created
+      by popen is simulated by a temporary file which only gets removed
+      inside pclose.  */
+-  if (f != stdin)
++  if (pipe_p)
+     pclose (f);
++  else
++    gzclose (f);
+ 
+   *sizep = filled;
+   return data;
+diff -up texinfo-6.4/install-info/Makefile.in.orig texinfo-6.4/install-info/Makefile.in
+--- texinfo-6.4/install-info/Makefile.in.orig	2017-06-23 08:04:39.000000000 +0200
++++ texinfo-6.4/install-info/Makefile.in	2017-06-27 15:14:20.167998983 +0200
+@@ -221,7 +221,7 @@ am__installdirs = "$(DESTDIR)$(bindir)"
+ PROGRAMS = $(bin_PROGRAMS)
+ am_ginstall_info_OBJECTS = install-info.$(OBJEXT)
+ ginstall_info_OBJECTS = $(am_ginstall_info_OBJECTS)
+-ginstall_info_LDADD = $(LDADD)
++ginstall_info_LDADD = $(LDADD) -lz
+ am__DEPENDENCIES_1 =
+ ginstall_info_DEPENDENCIES = $(top_builddir)/gnulib/lib/libgnu.a \
+ 	$(am__DEPENDENCIES_1)
diff --git a/SOURCES/texinfo-6.0-disable-failing-info-test.patch b/SOURCES/texinfo-6.0-disable-failing-info-test.patch
new file mode 100644
index 0000000..813cc4b
--- /dev/null
+++ b/SOURCES/texinfo-6.0-disable-failing-info-test.patch
@@ -0,0 +1,49 @@
+diff -up texinfo-6.4.90/info/Makefile.in.orig texinfo-6.4.90/info/Makefile.in
+--- texinfo-6.4.90/info/Makefile.in.orig	2017-07-10 21:06:01.000000000 +0200
++++ texinfo-6.4.90/info/Makefile.in	2017-07-11 09:58:06.501153160 +0200
+@@ -1367,7 +1367,6 @@ TESTS = \
+ 	t/end-of-line.sh \
+ 	t/goal-column.sh \
+ 	t/star-note-non-whitespace.sh \
+-	t/c-u-m-x-scroll-forward.sh \
+ 	t/last-no-history.sh \
+ 	t/split-footnotes.sh \
+ 	t/window-split-dir.sh \
+@@ -1392,10 +1391,6 @@ TESTS = \
+ 	t/search-skip-screen.sh \
+ 	t/search-empty.sh \
+ 	t/close-window-after-search.sh \
+-	t/inc-sea-forward.sh \
+-	t/inc-sea-forward-nonregex.sh \
+-	t/inc-sea-insensitive.sh \
+-	t/inc-sea-history.sh \
+ 	t/inc-sea-bs.sh \
+ 	t/gc-split.sh \
+ 	t/anchor-positions.sh \
+diff -up texinfo-6.4.90/tp/tests/Makefile.in.orig texinfo-6.4.90/tp/tests/Makefile.in
+--- texinfo-6.4.90/tp/tests/Makefile.in.orig	2017-07-10 20:52:24.000000000 +0200
++++ texinfo-6.4.90/tp/tests/Makefile.in	2017-07-11 09:59:30.838233561 +0200
+@@ -1308,7 +1308,6 @@ one_test_files_generated_list = \
+      test_scripts/formatting_simplest_test_prefix_info.sh \
+      test_scripts/formatting_simplest_test_css.sh \
+      test_scripts/formatting_simplest_test_date_in_header.sh \
+-     test_scripts/formatting_documentlanguage_set_option.sh \
+      test_scripts/formatting_documentlanguage_set_unknown.sh \
+      test_scripts/formatting_documentlanguage_set_option_info.sh \
+      test_scripts/formatting_float_copying.sh \
+@@ -1348,7 +1347,6 @@ one_test_files_generated_list = \
+      test_scripts/sectioning_top_node_up_explicit.sh \
+      test_scripts/coverage_texi_formatting.sh \
+      test_scripts/coverage_formatting.sh \
+-     test_scripts/coverage_formatting_fr.sh \
+      test_scripts/indices_double_index_entry.sh \
+      test_scripts/indices_split_chapter_index.sh \
+      test_scripts/indices_index_split.sh \
+@@ -1447,7 +1445,6 @@ one_test_files_generated_list = \
+      test_scripts/layout_formatting_html32.sh \
+      test_scripts/layout_formatting_regions.sh \
+      test_scripts/layout_formatting_exotic.sh \
+-     test_scripts/layout_formatting_fr_icons.sh \
+      test_scripts/layout_formatting_chm.sh \
+      test_scripts/layout_formatting_nodes.sh \
+      test_scripts/tex_html_block_EOL_tex.sh \
diff --git a/SOURCES/texinfo-6.1-install-info-use-create-tmp-then-rename-pattern.patch b/SOURCES/texinfo-6.1-install-info-use-create-tmp-then-rename-pattern.patch
new file mode 100644
index 0000000..ab8e072
--- /dev/null
+++ b/SOURCES/texinfo-6.1-install-info-use-create-tmp-then-rename-pattern.patch
@@ -0,0 +1,44 @@
+diff -up texinfo-6.1/install-info/install-info.c.orig texinfo-6.1/install-info/install-info.c
+--- texinfo-6.1/install-info/install-info.c.orig	2016-06-22 09:49:38.766013018 +0200
++++ texinfo-6.1/install-info/install-info.c	2016-06-22 14:11:58.673780736 +0200
+@@ -973,18 +973,23 @@ output_dirfile (char *dirfile, int dir_n
+   int n_entries_added = 0;
+   int i;
+   FILE *output;
++  char *dirfile_tmp = NULL;
++
++  asprintf (&dirfile_tmp, "%s.tmp", dirfile);
++  if (!dirfile_tmp)
++    xalloc_die ();
+ 
+   if (compression_program)
+     {
+-      char *command = concat (compression_program, ">", dirfile);
++      char *command = concat (compression_program, ">", dirfile_tmp);
+       output = popen (command, "w");
+     }
+   else
+-    output = fopen (dirfile, "w");
++    output = fopen (dirfile_tmp, "w");
+ 
+   if (!output)
+     {
+-      perror (dirfile);
++      perror (dirfile_tmp);
+       exit (EXIT_FAILURE);
+     }
+ 
+@@ -1095,6 +1100,13 @@ output_dirfile (char *dirfile, int dir_n
+     pclose (output);
+   else
+     fclose (output);
++
++  if (rename (dirfile_tmp, dirfile) < 0)
++    {
++      perror (dirfile_tmp);
++      exit (EXIT_FAILURE);
++    }
++  free (dirfile_tmp);
+ }
+ 
+ /* Read through the input LINES, to find the section names and the
diff --git a/SOURCES/texinfo-6.5-covscan-fixes.patch b/SOURCES/texinfo-6.5-covscan-fixes.patch
new file mode 100644
index 0000000..7861976
--- /dev/null
+++ b/SOURCES/texinfo-6.5-covscan-fixes.patch
@@ -0,0 +1,190 @@
+diff -up texinfo-6.5/contrib/fix-info-dir.orig texinfo-6.5/contrib/fix-info-dir
+--- texinfo-6.5/contrib/fix-info-dir.orig	2018-10-04 11:34:13.664483757 +0200
++++ texinfo-6.5/contrib/fix-info-dir	2018-10-04 11:34:13.666483758 +0200
+@@ -28,7 +28,6 @@ if test -z "$LINENO"; then
+ fi
+ 
+ MENU_BEGIN='^\*\([ 	]\)\{1,\}Menu:'
+-MENU_ITEM='^\* ([^ 	]).*:([ 	])+\('
+ MENU_FILTER1='s/^\*\([ 	]\)\{1,\}/* /'
+ MENU_FILTER2='s/\([ 	]\)\{1,\}$//g'
+ 
+diff -up texinfo-6.5/info/echo-area.c.orig texinfo-6.5/info/echo-area.c
+--- texinfo-6.5/info/echo-area.c.orig	2017-02-04 02:02:43.000000000 +0100
++++ texinfo-6.5/info/echo-area.c	2018-10-04 11:34:13.667483758 +0200
+@@ -979,6 +979,7 @@ info_read_completing_internal (const cha
+                 inform_in_echo_area (_("No completions"));
+               else
+                 inform_in_echo_area (_("Not complete"));
++              free (line);
+               continue;
+             }
+         }
+diff -up texinfo-6.5/info/info.c.orig texinfo-6.5/info/info.c
+--- texinfo-6.5/info/info.c.orig	2017-07-09 17:12:57.000000000 +0200
++++ texinfo-6.5/info/info.c	2018-10-04 11:34:13.667483758 +0200
+@@ -295,6 +295,7 @@ get_initial_file (int *argc, char ***arg
+              ref_index, ref_list, ref_slots, 2);
+ 
+           initial_file = MANPAGE_FILE_BUFFER_NAME;
++          free (man_node);
+           return;
+         }
+     }
+diff -up texinfo-6.5/info/infomap.c.orig texinfo-6.5/info/infomap.c
+--- texinfo-6.5/info/infomap.c.orig	2017-05-15 18:35:24.000000000 +0200
++++ texinfo-6.5/info/infomap.c	2018-10-04 11:34:13.667483758 +0200
+@@ -603,6 +603,7 @@ fetch_user_maps (char *init_file)
+   compile (inf, filename, &sup_info, &sup_ea);
+ 
+   free (filename);
++  fclose (inf);
+   return 1;
+ }
+ 
+diff -up texinfo-6.5/info/makedoc.c.orig texinfo-6.5/info/makedoc.c
+--- texinfo-6.5/info/makedoc.c.orig	2014-11-07 11:58:55.000000000 +0100
++++ texinfo-6.5/info/makedoc.c	2018-10-04 11:34:13.667483758 +0200
+@@ -427,7 +427,11 @@ process_one_file (char *filename, FILE *
+ 
+       offset++;
+       if (offset >= file_size)
+-        break;
++        {
++          free (func_name);
++          free (func);
++          break;
++        }
+ 
+       doc = xmalloc (1 + (offset - point));
+       strncpy (doc, buffer + point, offset - point);
+diff -up texinfo-6.5/info/m-x.c.orig texinfo-6.5/info/m-x.c
+--- texinfo-6.5/info/m-x.c.orig	2017-05-14 12:55:17.000000000 +0200
++++ texinfo-6.5/info/m-x.c	2018-10-04 11:34:13.667483758 +0200
+@@ -81,7 +81,10 @@ DECLARE_INFO_COMMAND (describe_command,
+       InfoCommand *cmd = named_function (line);
+ 
+       if (!cmd)
+-        return;
++        {
++          free (line);
++          return;
++        }
+ 
+       window_message_in_echo_area ("%s: %s.",
+                                    line, function_documentation (cmd));
+diff -up texinfo-6.5/info/nodes.c.orig texinfo-6.5/info/nodes.c
+--- texinfo-6.5/info/nodes.c.orig	2017-07-09 20:51:40.000000000 +0200
++++ texinfo-6.5/info/nodes.c	2018-10-04 11:34:13.668483758 +0200
+@@ -306,7 +306,10 @@ get_nodes_of_tags_table (FILE_BUFFER *fi
+       for (p = 0; nodedef[p] && nodedef[p] != INFO_TAGSEP; p++)
+         ;
+       if (nodedef[p] != INFO_TAGSEP)
+-        continue;
++        {
++          free (entry);
++          continue;
++        }
+ 
+       entry->nodename = xmalloc (p + 1);
+       strncpy (entry->nodename, nodedef, p);
+@@ -480,6 +483,7 @@ get_tags_of_indirect_tags_table (FILE_BU
+                 }
+               file_buffer->subfiles = NULL;
+               free_file_buffer_tags (file_buffer);
++              free (subfiles);
+               return;
+             }
+ 
+diff -up texinfo-6.5/info/session.c.orig texinfo-6.5/info/session.c
+--- texinfo-6.5/info/session.c.orig	2017-07-06 20:49:26.000000000 +0200
++++ texinfo-6.5/info/session.c	2018-10-04 11:34:13.668483758 +0200
+@@ -3554,6 +3554,7 @@ DECLARE_INFO_COMMAND (info_goto_invocati
+   if (!line)
+     {
+       info_abort_key (window, 0);
++      free (default_program_name);
+       return;
+     }
+   if (*line)
+diff -up texinfo-6.5/info/variables.c.orig texinfo-6.5/info/variables.c
+--- texinfo-6.5/info/variables.c.orig	2017-05-03 21:48:19.000000000 +0200
++++ texinfo-6.5/info/variables.c	2018-10-04 11:34:13.669483758 +0200
+@@ -361,6 +361,7 @@ read_variable_name (char *prompt, WINDOW
+ {
+   char *line;
+   REFERENCE **variables;
++  VARIABLE_ALIST *alist;
+ 
+   /* Get the completion array of variable names. */
+   variables = make_variable_completions_array ();
+@@ -384,7 +385,9 @@ read_variable_name (char *prompt, WINDOW
+       return NULL;
+     }
+ 
+-  return variable_by_name (line);
++  alist = variable_by_name (line);
++  free (line);
++  return alist;
+ }
+ 
+ /* Make an array of REFERENCE which actually contains the names of the
+diff -up texinfo-6.5/install-info/install-info.c.orig texinfo-6.5/install-info/install-info.c
+--- texinfo-6.5/install-info/install-info.c.orig	2018-10-04 11:34:13.661483757 +0200
++++ texinfo-6.5/install-info/install-info.c	2018-10-04 11:34:13.669483758 +0200
+@@ -867,10 +867,16 @@ determine_file_type:
+       char *command = concat (*compression_program, " -d", "");
+ 
+       if (gzclose (f) < 0)
+-        return 0;
++        {
++          free (command);
++          return 0;
++        }
+       p = freopen (*opened_filename, FOPEN_RBIN, stdin);
+       if (!p)
+-        return 0;
++        {
++          free (command);
++          return 0;
++        }
+       p = popen (command, "r");
+       if (!p)
+         {
+@@ -880,6 +886,7 @@ determine_file_type:
+         }
+       else
+         *is_pipe = 1;
++      free (command);
+       return p;
+     }
+   else
+@@ -923,7 +930,10 @@ readfile (char *filename, int *sizep,
+                                      &pipe_p);
+ 
+   if (!f)
+-    return 0;
++    {
++      free (data);
++      return 0;
++    }
+ 
+   for (;;)
+     {
+@@ -983,6 +993,7 @@ output_dirfile (char *dirfile, int dir_n
+     {
+       char *command = concat (compression_program, ">", dirfile_tmp);
+       output = popen (command, "w");
++      free (command);
+     }
+   else
+     output = fopen (dirfile_tmp, "w");
+@@ -1724,6 +1735,8 @@ reformat_new_entries (struct spec_entry
+ 
+       format_entry (name, name_len, desc, desc_len, calign, align, 
+                     maxwidth, &entry->text, &entry->text_len);
++      free (desc);
++      free (name);
+     }
+ }
+ 
diff --git a/SOURCES/texinfo-6.5.tar.xz.sig b/SOURCES/texinfo-6.5.tar.xz.sig
new file mode 100644
index 0000000..ade40b6
--- /dev/null
+++ b/SOURCES/texinfo-6.5.tar.xz.sig
@@ -0,0 +1,7 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1
+
+iF4EABEIAAYFAlm4QBsACgkQ3bxXnas3+6mlNwD/Tzn0IxHxWCII18A72dLZ0rDB
+0GtvrWV4c/wtYHSGSNEA/3iIAv2qbGreDAXAzLHKsWm5vKzFvRPeDS7GBJQg018q
+=EUkI
+-----END PGP SIGNATURE-----
diff --git a/SPECS/texinfo.spec b/SPECS/texinfo.spec
new file mode 100644
index 0000000..6be153a
--- /dev/null
+++ b/SPECS/texinfo.spec
@@ -0,0 +1,696 @@
+%global tex_texinfo %{_datadir}/texmf/tex/texinfo
+
+Summary: Tools needed to create Texinfo format documentation files
+Name: texinfo
+Version: 6.5
+Release: 4%{?dist}
+License: GPLv3+
+Url: http://www.gnu.org/software/texinfo/
+Source0: ftp://ftp.gnu.org/gnu/texinfo/texinfo-%{version}.tar.xz
+Source1: ftp://ftp.gnu.org/gnu/texinfo/texinfo-%{version}.tar.xz.sig
+# Source5: macro definitions
+Source5: macros.info
+Patch0: texinfo-4.12-zlib.patch
+# Patch1: this is needed just for koji/mock, all tests pass fine in local build
+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
+# Patch4: fixes issues detected by static analysis
+Patch4: texinfo-6.5-covscan-fixes.patch
+BuildRequires: gcc
+BuildRequires: perl-generators
+BuildRequires: zlib-devel, ncurses-devel, help2man, perl(Data::Dumper)
+BuildRequires: perl(Locale::Messages), perl(Unicode::EastAsianWidth), perl(Text::Unidecode)
+BuildRequires: perl(Storable)
+
+# Texinfo perl packages are not installed in default perl library dirs
+%global __provides_exclude ^perl\\(.*Texinfo.*\\)$
+%global __requires_exclude ^perl\\(.*Texinfo.*\\)$
+
+%description
+Texinfo is a documentation system that can produce both online
+information and printed output from a single source file. The GNU
+Project uses the Texinfo file format for most of its documentation.
+
+Install texinfo if you want a documentation system for producing both
+online and print documentation from the same source file and/or if you
+are going to write documentation for the GNU Project.
+
+%package -n info
+Summary: A stand-alone TTY-based reader for GNU texinfo documentation
+
+%description -n info
+The GNU project uses the texinfo file format for much of its
+documentation. The info package provides a standalone TTY-based
+browser program for viewing texinfo files.
+
+%package tex
+Summary: Tools for formatting Texinfo documentation files using TeX
+Requires: texinfo = %{version}-%{release}
+Requires: tex(tex) tex(epsf.tex)
+Requires(post): %{_bindir}/texconfig-sys
+Requires(postun): %{_bindir}/texconfig-sys
+
+%description tex
+Texinfo is a documentation system that can produce both online
+information and printed output from a single source file. The GNU
+Project uses the Texinfo file format for most of its documentation.
+
+The texinfo-tex package provides tools to format Texinfo documents
+for printing using TeX.
+
+%prep
+%autosetup -p1
+
+%build
+%configure --with-external-Text-Unidecode \
+           --with-external-libintl-perl \
+           --with-external-Unicode-EastAsianWidth \
+           --disable-perl-xs
+%make_build
+
+%install
+mkdir -p ${RPM_BUILD_ROOT}/sbin
+
+%make_install
+
+mkdir -p $RPM_BUILD_ROOT%{tex_texinfo}
+install -p -m644 doc/texinfo.tex doc/txi-??.tex $RPM_BUILD_ROOT%{tex_texinfo}
+
+mv $RPM_BUILD_ROOT%{_bindir}/install-info $RPM_BUILD_ROOT/sbin
+
+install -Dpm0755 -t %{buildroot}%{_sbindir} contrib/fix-info-dir
+
+mkdir -p $RPM_BUILD_ROOT%{_rpmconfigdir}/macros.d
+cp %{SOURCE5} $RPM_BUILD_ROOT%{_rpmconfigdir}/macros.d
+
+%find_lang %{name}
+%find_lang %{name}_document
+
+%check
+export ALL_TESTS=yes
+%make_build check
+
+%post tex
+%{_bindir}/texconfig-sys rehash 2> /dev/null || :
+
+%postun tex
+%{_bindir}/texconfig-sys rehash 2> /dev/null || :
+
+%transfiletriggerin -n info -- %{_infodir}
+[ -f %{_infodir}/dir ] && create_arg="" || create_arg="--create"
+%{_sbindir}/fix-info-dir $create_arg %{_infodir}/dir &>/dev/null
+
+%transfiletriggerpostun -n info -- %{_infodir}
+[ -f %{_infodir}/dir ] && %{_sbindir}/fix-info-dir --delete %{_infodir}/dir &>/dev/null
+
+%files -f %{name}.lang -f %{name}_document.lang
+%doc AUTHORS ChangeLog NEWS README TODO
+%license COPYING
+%{_bindir}/makeinfo
+%{_bindir}/texi2any
+%{_bindir}/pod2texi
+%{_datadir}/texinfo
+%{_infodir}/texinfo*
+%{_mandir}/man1/makeinfo.1*
+%{_mandir}/man5/texinfo.5*
+%{_mandir}/man1/texi2any.1*
+%{_mandir}/man1/pod2texi.1*
+
+%files -n info
+%license COPYING
+%{_bindir}/info
+%{_infodir}/info-stnd.info*
+/sbin/install-info
+%{_sbindir}/fix-info-dir
+%{_mandir}/man1/info.1*
+%{_mandir}/man1/install-info.1*
+%{_mandir}/man5/info.5*
+%{_rpmconfigdir}/macros.d/macros.info
+%ghost %{_infodir}/dir
+%ghost %{_infodir}/dir.old
+
+%files tex
+%{_bindir}/texindex
+%{_bindir}/texi2dvi
+%{_bindir}/texi2pdf
+%{_bindir}/pdftexi2dvi
+%{tex_texinfo}/
+%{_mandir}/man1/texindex.1*
+%{_mandir}/man1/texi2dvi.1*
+%{_mandir}/man1/texi2pdf.1*
+%{_mandir}/man1/pdftexi2dvi.1*
+
+%changelog
+* Tue Oct 09 2018 Vitezslav Crhonek <vcrhonek@redhat.com> - 6.5-4
+- Fix issues detected by static analysis
+  Resolves: #1606966
+
+* Tue Feb 13 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.5-3
+- Implement transaction filetriggers for crating info/dir
+
+* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.5-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Wed Sep 13 2017 Vitezslav Crhonek <vcrhonek@redhat.com> - 6.5-1
+- Update to texinfo-6.5
+  Resolves: #1491075
+
+* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.4-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
+* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.4-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Thu Jul 13 2017 Petr Pisar <ppisar@redhat.com> - 6.4-3
+- perl dependency renamed to perl-interpreter
+  <https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules>
+
+* Mon Jul 10 2017 Vitezslav Crhonek <vcrhonek@redhat.com> - 6.4-2
+- Fix broken reference following when the reference is split to
+  more than one line
+- Fix possible incorrect selection of already loaded file when
+  following cross reference
+  Resolves: #1383057
+
+* Tue Jun 27 2017 Vitezslav Crhonek <vcrhonek@redhat.com> - 6.4-1
+- Update to texinfo-6.4
+  Resolves: #1464624
+
+* Mon Mar 13 2017 Vitezslav Crhonek <vcrhonek@redhat.com> - 6.3-3
+- Fix path to install-info in macros.info
+  Resolves: #1419246
+
+* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.3-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Mon Sep 19 2016 Vitezslav Crhonek <vcrhonek@redhat.com> - 6.3-1
+- Update to texinfo-6.3
+  Resolves: #1374962
+
+* Wed Jun 22 2016 Vitezslav Crhonek <vcrhonek@redhat.com> - 6.1-3
+- install-info: use create-tmp-then-rename pattern because of OSTree
+  (patch by Colin Walters)
+  Resolves: #1348671
+
+* Wed Feb 24 2016 Vitezslav Crhonek <vcrhonek@redhat.com> - 6.1-2
+- Fix texi2dvi exits without completing the task
+  Resolves: #1309702
+
+* Thu Feb 11 2016 Vitezslav Crhonek <vcrhonek@redhat.com> - 6.1-1
+- Update to texinfo-6.1
+  Resolves: #1305316
+
+* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 6.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Sun Aug 9 2015 Orion Poplawski <orion@cora.nwra.com> - 6.0-2
+- Add BR on perl(Storable), fix perl requires (bug #1251766)
+
+* Tue Jul 14 2015 Vitezslav Crhonek <vcrhonek@redhat.com> - 6.0-1
+- Update to texinfo-6.0
+  Resolves: #1236254
+
+* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2-10
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Sat Feb 21 2015 Till Maas <opensource@till.name> - 5.2-9
+- Rebuilt for Fedora 23 Change
+  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
+
+* Mon Feb 02 2015 Vitezslav Crhonek <vcrhonek@redhat.com> - 5.2-8
+- Add macros.info
+  Resolves: #948735
+
+* Thu Oct 30 2014 Vitezslav Crhonek <vcrhonek@redhat.com> - 5.2-7
+- Filter bogus perl requires/provides
+- Enable upstream test suite
+
+* Tue Oct 14 2014 Vitezslav Crhonek <vcrhonek@redhat.com> - 5.2-6
+- Use perl-Unicode-EastAsianWidth
+
+* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
+
+* Wed Aug  6 2014 Tom Callaway <spot@fedoraproject.org> - 5.2-4
+- fix license handling
+
+* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Thu Jan 16 2014 Vitezslav Crhonek <vcrhonek@redhat.com> - 5.2-2
+- Fix info segfaults on non existing info page when used with -o
+
+* Tue Oct 01 2013 Vitezslav Crhonek <vcrhonek@redhat.com> - 5.2-1
+- Update to texinfo-5.2
+
+* Tue Aug 13 2013 Vitezslav Crhonek <vcrhonek@redhat.com> - 5.1-4
+- Fix \b[...\b] tag processing
+  Resolves: #928975
+
+* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 5.1-2
+- Perl 5.18 rebuild
+
+* Mon Mar 18 2013 Vitezslav Crhonek <vcrhonek@redhat.com> - 5.1-1
+- Update to texinfo-5.1
+
+* Tue Mar 05 2013 Vitezslav Crhonek <vcrhonek@redhat.com> - 5.0-3
+- Fix bug in parser
+  Resolves: #917974
+
+* Wed Feb 20 2013 Vitezslav Crhonek <vcrhonek@redhat.com> - 5.0-2
+- Fix configure arguments, remove ChangeLog conversion,
+  move texi2any/pod2texi to main package
+
+* Tue Feb 19 2013 Vitezslav Crhonek <vcrhonek@redhat.com> - 5.0-1
+- Update to texinfo-5.0
+
+* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.13a-20
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Tue Nov 13 2012 Jindrich Novy <jnovy@redhat.com> - 4.13a-19
+- require epsf.tex (#868011)
+
+* Mon Sep 10 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.13a-18
+- Fix issues found by fedora-review utility in the spec file
+
+* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.13a-17
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.13a-16
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.13a-15
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Tue Jan 11 2011 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.13a-14
+- Fix missing Texinfo manual in the Directory node
+  Resolves: #662382
+
+* Wed Nov 10 2010 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.13a-13
+- Fix get_sectioning_number function problem
+  Resolves: #651314
+
+* Tue Nov  9 2010 Jindrich Novy <jnovy@redhat.com> - 4.13a-12
+- require tex(tex) instead of tetex in texinfo-tex
+
+* Mon Oct 11 2010 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.13a-11
+- Fix incopatible regexp with the lates version of egrep in texi2dvi script
+  Resolves: #641534
+
+* Tue Aug 31 2010 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.13a-10
+- Fix info crash when using index in help window
+  Resolves: #579263
+
+* Mon Jan 11 2010 Jan Gorig <jgorig@redhat.com> - 4.13a-9
+- Fix PowerPC return code bug #531349
+
+* Mon Dec 14 2009 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.13a-8
+- Fix memory allocation bug when using old-style --section "Foo" arguments
+
+* Wed Sep  2 2009 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.13a-7
+- Fix errors installing texinfo/info with --excludedocs
+  Resolves: #515909
+  Resolves: #515938
+
+* Wed Aug 12 2009 Ville Skyttä <ville.skytta@iki.fi> - 4.13a-6
+- Use lzma compressed upstream tarball.
+
+* Wed Aug  5 2009 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.13a-5
+- Fix changelog entry and rebuild
+
+* Tue Aug  4 2009 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.13a-4
+- Fix data types (fix by Ralf Corsepius)
+  Resolves: #515402
+
+* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.13a-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.13a-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Thu Nov 20 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.13-1
+- Update to texinfo-4.13a
+  Resolves: #471194
+  Resolves: #208511
+
+* Wed Jun  4 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.12-4
+- Remove sed Requires (dependency loop)
+  Resolves: #449705
+
+* Mon Jun  2 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.12-3
+- Fix install-info crashes on some info files
+  Resolves: #449292
+
+* Thu May 29 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.12-2
+- Fix Requires and info post script
+
+* Wed May 14 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.12-1
+- Update to texinfo-4.12
+- Remove description ("This is...") from /usr/share/info/dir in info
+  post install section
+  Resolves: #433535
+
+* Mon Feb  4 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.11-5
+- Merge Review
+  Resolves: #226488
+
+* Mon Dec 10 2007 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.11-4
+- Don't insert description ("This is...") into the direntry section
+  of some generated files
+  Resolves: #394191
+
+* Tue Nov 13 2007 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.11-3
+- Fix info crashes when resizing window
+  Resolves: #243971
+
+* Wed Nov  7 2007 Stepan Kasal <skasal@redhat.com> - 4.11-2
+- fix a typo in texinfo-tex summary
+  Resolves: #239216
+
+* Wed Sep 19 2007 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.11-1
+- Rebase to upstream texinfo-4.11 (update zlib.patch, drop
+  texindex.patch and 0xA0.patch -- both included in upstream)
+  Resolves: #295441
+
+* Tue Aug 28 2007 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.9-2
+- Fix license
+- Rebuild
+
+* Tue Jul 31 2007 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.9-1
+- Rebase to upstream texinfo-4.9, fix typo in summary
+  Resolves: #250119, #248883
+
+* Mon Dec  4 2006 Miloslav Trmac <mitr@redhat.com> - 4.8-15
+- Don't replace 0xA0 by a space in makeinfo
+  Related: #208511
+- Fix some rpmlint warnings
+
+* Sun Nov  5 2006 Miloslav Trmac <mitr@redhat.com> - 4.8-14
+- Remove off-line sorting from texindex (fixes CVE 2006-4810)
+
+* Mon Oct  9 2006 Miloslav Trmac <mitr@redhat.com> - 4.8-13
+- Don't use mode 0666 for the texindex temporary files
+
+* Mon Oct  9 2006 Miloslav Trmac <mitr@redhat.com> - 4.8-12
+- Don't leave around temporary files used by texindex
+- Add missing error handling to texinfo-CAN-2005-3011.patch
+
+* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 4.8-11.1
+- rebuild
+
+* Sat Mar 25 2006 Miloslav Trmac <mitr@redhat.com> - 4.8-11
+- Split texinfo-tex from the texinfo package (#178406)
+- Ship COPYING, don't ship INSTALL
+
+* Sun Mar 19 2006 Miloslav Trmac <mitr@redhat.com> - 4.8-10
+- Remove incorrect Prefix:
+- Drop info/README
+- Convert change log to UTF-8
+
+* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 4.8-9.2
+- bump again for double-long bug on ppc(64)
+
+* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 4.8-9.1
+- rebuilt for new gcc4.1 snapshot and glibc changes
+
+* Mon Jan 16 2006 Miloslav Trmac <mitr@redhat.com> - 4.8-9
+- Fix handling of bzip2'ed files (#128637)
+
+* Mon Jan 16 2006 Miloslav Trmac <mitr@redhat.com> - 4.8-8
+- Ignore scriptlet failures with --excludedocs (#166958)
+- Don't link texindex to zlib, don't pretend to link to zlib statically
+
+* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
+- rebuilt
+
+* Fri Oct 14 2005 Tim Waugh <twaugh@redhat.com> 4.8-7
+- Apply patch to fix CAN-2005-3011 (bug #169585).
+
+* Thu Jun  9 2005 Tim Waugh <twaugh@redhat.com> 4.8-6
+- Ship texi2pdf man page, taken from tetex-2.0.2 RPM.
+
+* Tue Jun  7 2005 Tim Waugh <twaugh@redhat.com> 4.8-5
+- Ship texi2pdf (bug #147271).
+
+* Mon Mar 14 2005 Tim Waugh <twaugh@redhat.com> 4.8-4
+- Requires tetex (bug #151075).
+
+* Wed Mar  2 2005 Tim Waugh <twaugh@redhat.com> 4.8-3
+- Rebuild for new GCC.
+
+* Mon Feb  7 2005 Tim Waugh <twaugh@redhat.com> 4.8-2
+- Don't ship texi2pdf (bug #147271).
+
+* Thu Feb  3 2005 Tim Waugh <twaugh@redhat.com> 4.8-1
+- 4.8.
+
+* Thu Dec 30 2004 Tim Waugh <twaugh@redhat.com> 4.7-6
+- Fixed URL (bug #143729).
+
+* Thu Aug 12 2004 Tim Waugh <twaugh@redhat.com> 4.7-5
+- Rebuilt.
+
+* Wed Jul  7 2004 Tim Waugh <twaugh@redhat.com> 4.7-4
+- Build for FC2.
+
+* Tue Jun 29 2004 Tim Waugh <twaugh@redhat.com> 4.7-3
+- Fix grouping in user-defined macros.
+
+* Mon Jun 28 2004 Tim Waugh <twaugh@redhat.com> 4.7-2
+- Build requires ncurses-devel (bug #126600).
+
+* Fri Jun 25 2004 Tim Waugh <twaugh@redhat.com> 4.7-1
+- 4.7.
+
+* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
+- rebuilt
+
+* Tue Mar  2 2004 Tim Waugh <twaugh@redhat.com>
+- Fixed compiler warning (bug #117097).
+
+* Sat Feb 21 2004 Tim Waugh <twaugh@redhat.com> 4.6-3
+- Build requires zlib-devel (bug #116436).
+
+* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
+- rebuilt
+
+* Tue Dec  2 2003 Tim Waugh <twaugh@redhat.com> 4.6-1
+- Fixed compiler warning (bug #111279).
+- 4.6.
+
+* Tue Jun 17 2003 Tim Waugh <twaugh@redhat.com> 4.5-3
+- Rebuilt.
+
+* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
+- rebuilt
+
+* Tue May  6 2003 Tim Waugh <twaugh@redhat.com>
+- No longer need 3.12h-fix patch.
+
+* Tue Apr 29 2003 Tim Waugh <twaugh@redhat.com> 4.5-1
+- 4.5 (bug #88428).  Update zlib patch.
+- Add URL tag (bug #54613).
+
+* Wed Jan 22 2003 Tim Powers <timp@redhat.com> 4.3-5
+- rebuilt
+
+* Tue Jan  7 2003 Tim Waugh <twaugh@redhat.com> 4.3-4
+- Fix up spec_install_post to strip debug info out to separate package
+  (bug #81226).
+
+* Thu Dec 26 2002 Florian La Roche <Florian.LaRoche@redhat.de> 4.3-3
+- Make /usr/share/info/dir a real file and remove /etc/info-dir, that
+  file should be unused for a long time.
+
+* Thu Nov 21 2002 Elliot Lee <sopwith@redhat.com> 4.3-2
+- Don't strip files here (rpm takes care of it)
+- Use pushd/popd instead of enclosing things in (), to make
+  error detection easier
+- Use _smp_mflags
+
+* Tue Nov 19 2002 Tim Waugh <twaugh@redhat.com> 4.3-1
+- 4.3.
+- No longer need fileextension or malloccheck patches.
+- Update zlib patch.
+
+* Wed Oct 23 2002 Tim Waugh <twaugh@redhat.com> 4.2-6
+- Don't install files not packaged.
+- Fix file list (bug #55816).
+
+* Mon Sep  2 2002 Bernhard Rosenkraenzer <bero@redhat.com> 4.2-5
+- Fix crash w/ MALLOC_CHECK_ == 2 (#72831)
+
+* Tue Jul  2 2002 Bernhard Rosenkraenzer <bero@redhat.com> 4.2-4
+- Add infokey (#67728)
+
+* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
+- automated rebuild
+
+* Thu May 23 2002 Tim Powers <timp@redhat.com>
+- automated rebuild
+
+* Tue Apr 23 2002 Florian La Roche <Florian.LaRoche@redhat.de>
+- 4.2
+
+* Tue Mar  5 2002 Bernhard Rosenkraenzer <bero@redhat.com> 4.1-1
+- 4.1 (#60714)
+
+* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
+- automated rebuild
+
+* Tue Aug  7 2001 Bernhard Rosenkraenzer <bero@redhat.com> 4.0b-3
+- Don't create the desktop file - we don't install it anyway.
+
+* Sat Jul 21 2001 Tim Powers <timp@redhat.com>
+- remove the info viewer from the menus, it's cluttering things
+
+* Wed May 09 2001 Florian La Roche <Florian.LaRoche@redhat.de>
+- 4.0b
+
+* Tue Apr 24 2001 Bernhard Rosenkraenzer <bero@redhat.com> 4.0a-1
+- Update to 4.0a, the patch looks sane
+
+* Fri Feb 23 2001 Trond Eivind Glomsrød <teg@redhat.com>
+- langify
+- don't create desktop file in spec file
+
+* Tue Jan 23 2001 Preston Brown <pbrown@redhat.com>
+- danish translation added
+
+* Tue Dec 12 2000 Bernhard Rosenkraenzer <bero@redhat.com>
+- Rebuild to get rid of 0777 dirs
+
+* Wed Nov  8 2000 Bernhard Rosenkraenzer <bero@redhat.com>
+- Fix recognition of .?o extensions in texi2dvi, Bug #20498
+
+* Thu Sep  7 2000 Jeff Johnson <jbj@redhat.com>
+- FHS packaging (64bit systems need to use %%_libdir not /usr/lib).
+
+* Sat Aug 19 2000 Trond Eivind Glomsrød <teg@redhat.com>
+- really do it - #16120
+
+* Mon Aug 14 2000 Helge Deller <hdeller@redhat.com>
+- gzip man-pages, #16120
+
+* Mon Aug  7 2000 Tim Waugh <twaugh@redhat.com>
+- List man-pages in %%files.
+
+* Fri Aug  4 2000 Bernhard Rosenkraenzer <bero@redhat.com>
+- Add Swedish and German translations to desktop file, Bug #15366
+
+* Thu Aug  3 2000 Bernhard Rosenkraenzer <bero@redhat.com>
+- mark /etc/info-dir %%verify(not md5 size mime), Bug #14826
+
+* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
+- automatic rebuild
+
+* Wed Jun 28 2000 Bill Nottingham <notting@redhat.com>
+- fix build wackiness with info page compressing
+
+* Fri Jun 16 2000 Bill Nottingham <notting@redhat.com>
+- fix info-dir symlink
+
+* Thu May 18 2000 Preston Brown <pbrown@redhat.com>
+- use FHS paths for info.
+
+* Fri Mar 24 2000 Bernhard Rosenkraenzer <bero@redhat.com>
+- rebuild with current ncurses
+
+* Wed Feb 09 2000 Preston Brown <pbrown@redhat.com>
+- wmconfig -> desktop
+
+* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
+- fix descriptions
+
+* Wed Jan 26 2000 Bernhard Rosenkraenzer <bero@redhat.com>
+- move info-stnd.info* to the info package, /sbin/install-info it
+  in %%post (Bug #6632)
+
+* Thu Jan 13 2000 Jeff Johnson <jbj@redhat.com>
+- recompile to eliminate ncurses foul-up.
+
+* Tue Nov  9 1999 Bernhard Rosenkränzer <bero@redhat.com>
+- 4.0
+- handle RPM_OPT_FLAGS
+
+* Tue Sep 07 1999 Cristian Gafton <gafton@redhat.com>
+- import version 3.12h into 6.1 tree from HJLu
+
+* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
+- auto rebuild in the new build environment (release 4)
+
+* Wed Mar 17 1999 Erik Troan <ewt@redhat.com>
+- hacked to use zlib to get rid of the requirement on gzip
+
+* Wed Mar 17 1999 Matt Wilson <msw@redhat.com>
+- install-info prerequires gzip
+
+* Thu Mar 11 1999 Cristian Gafton <gafton@redhat.com>
+- version 3.12f
+- make /usr/info/dir to be a %%config(noreplace)
+
+* Wed Nov 25 1998 Jeff Johnson <jbj@redhat.com>
+- rebuild to fix docdir perms.
+
+* Thu Sep 24 1998 Cristian Gafton <gafton@redhat.com>
+- fix allocation problems in install-info
+
+* Wed Sep 23 1998 Jeff Johnson <jbj@redhat.com>
+- /sbin/install-info should not depend on /usr/lib/libz.so.1 -- statically
+  link with /usr/lib/libz.a.
+
+* Fri Aug 07 1998 Erik Troan <ewt@redhat.com>
+- added a prereq of bash to the info package -- see the comment for a
+  description of why that was done
+
+* Tue Jun 09 1998 Prospector System <bugs@redhat.com>
+- translations modified for de
+
+* Tue Jun  9 1998 Jeff Johnson <jbj@redhat.com>
+- add %%attr to permit non-root build.
+
+* Thu May 07 1998 Prospector System <bugs@redhat.com>
+- translations modified for de, fr, tr
+
+* Sun Apr 12 1998 Cristian Gafton <gafton@redhat.com>
+- added %%clean
+- manhattan build
+
+* Wed Mar 04 1998 Cristian Gafton <gafton@redhat.com>
+- upgraded to version 3.12
+- added buildroot
+
+* Sun Nov 09 1997 Donnie Barnes <djb@redhat.com>
+- moved /usr/info/dir to /etc/info-dir and made /usr/info/dir a
+  symlink to /etc/info-dir.
+
+* Wed Oct 29 1997 Donnie Barnes <djb@redhat.com>
+- added wmconfig entry for info
+
+* Wed Oct 01 1997 Donnie Barnes <djb@redhat.com>
+- stripped /sbin/install-info
+
+* Mon Sep 22 1997 Erik Troan <ewt@redhat.com>
+- added info-dir to filelist
+
+* Sun Sep 14 1997 Erik Troan <ewt@redhat.com>
+- added patch from sopwith to let install-info understand gzip'ed info files
+- use skeletal dir file from texinfo tarball (w/ bash entry to reduce
+  dependency chain) instead (and install-info command everywhere else)
+- patches install-info to handle .gz names correctly
+
+* Tue Jun 03 1997 Erik Troan <ewt@redhat.com>
+- built against glibc
+
+* Tue Feb 25 1997 Erik Troan <ewt@redhat.com>
+- patched install-info.c for glibc.
+- added /usr/bin/install-info to the filelist
+
+* Tue Feb 18 1997 Michael Fulbright <msf@redhat.com>
+- upgraded to version 3.9.