summaryrefslogtreecommitdiffstats
path: root/m4.spec
diff options
context:
space:
mode:
authorVitezslav Crhonek <vcrhonek@redhat.com>2013-11-12 11:23:37 +0100
committerVitezslav Crhonek <vcrhonek@redhat.com>2013-11-12 11:23:37 +0100
commite1482b2964bc1db1acd51df20e6cb70f471d83d2 (patch)
tree0ed742e5da77529db8bcc94fd91877257b91d326 /m4.spec
parentbccba387a2a2e5858da166fbaf41c84f3a64319a (diff)
downloadm4-e1482b2964bc1db1acd51df20e6cb70f471d83d2.tar.gz
m4-e1482b2964bc1db1acd51df20e6cb70f471d83d2.tar.xz
m4-e1482b2964bc1db1acd51df20e6cb70f471d83d2.zip
Fix installation of info documentation
Diffstat (limited to 'm4.spec')
-rw-r--r--m4.spec14
1 files 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 <vcrhonek@redhat.com> - 1.4.17-2
+- Fix installation of info documentation
+ Resolves: #1020194
+
* Tue Nov 05 2013 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.17-1
- Update to m4-1.4.17
Resolves: #1010895