From e1482b2964bc1db1acd51df20e6cb70f471d83d2 Mon Sep 17 00:00:00 2001 From: Vitezslav Crhonek Date: Tue, 12 Nov 2013 11:23:37 +0100 Subject: [PATCH] Fix installation of info documentation --- m4.spec | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/m4.spec b/m4.spec index 2d55874..c50c999 100644 --- a/m4.spec +++ b/m4.spec @@ -1,7 +1,7 @@ Summary: The GNU macro processor Name: m4 Version: 1.4.17 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ Group: Applications/Text Source0: http://ftp.gnu.org/gnu/m4/m4-%{version}.tar.xz @@ -47,18 +47,22 @@ make %{?_smp_mflags} check %{_mandir}/man1/m4.1* %post -if [ -f %{_infodir}/m4.info ]; then # --excludedocs? - /sbin/install-info %{_infodir}/m4.info %{_infodir}/dir || : +if [ -f %{_infodir}/m4.info.gz ]; then # --excludedocs? + /sbin/install-info %{_infodir}/m4.info.gz %{_infodir}/dir || : fi %preun if [ "$1" = 0 ]; then - if [ -f %{_infodir}/m4.info ]; then # --excludedocs? - /sbin/install-info --delete %{_infodir}/m4.info %{_infodir}/dir || : + if [ -f %{_infodir}/m4.info.gz ]; then # --excludedocs? + /sbin/install-info --delete %{_infodir}/m4.info.gz %{_infodir}/dir || : fi fi %changelog +* Tue Nov 12 2013 Vitezslav Crhonek - 1.4.17-2 +- Fix installation of info documentation + Resolves: #1020194 + * Tue Nov 05 2013 Vitezslav Crhonek - 1.4.17-1 - Update to m4-1.4.17 Resolves: #1010895