From 41a26d8db5bf1ca1a089fd2fede299a719f79c88 Mon Sep 17 00:00:00 2001 From: James Antill Date: Aug 07 2009 15:45:10 +0000 Subject: - Allow --excludedocs command to work! - Resolves: bug#515986 --- diff --git a/zsh.spec b/zsh.spec index c604bbb..4483458 100644 --- a/zsh.spec +++ b/zsh.spec @@ -3,7 +3,7 @@ Summary: A powerful interactive shell Name: zsh Version: 4.3.10 -Release: 3%{?dist} +Release: 4%{?dist} License: BSD URL: http://zsh.sunsite.dk/ Group: System Environment/Shells @@ -130,14 +130,21 @@ else grep -q "^%{_bindir}/zsh$" %{_sysconfdir}/shells || echo "%{_bindir}/zsh" >> %{_sysconfdir}/shells fi +if [ -f %{_infodir}/zsh.info.gz ]; then +# This is needed so that --excludedocs works. /sbin/install-info %{_infodir}/zsh.info.gz %{_infodir}/dir \ --entry="* zsh: (zsh). An enhanced bourne shell." +fi + : %preun if [ "$1" = 0 ] ; then + if [ -f %{_infodir}/zsh.info.gz ]; then + # This is needed so that --excludedocs works. /sbin/install-info --delete %{_infodir}/zsh.info.gz %{_infodir}/dir \ --entry="* zsh: (zsh). An enhanced bourne shell." + fi fi : @@ -168,6 +175,10 @@ fi %doc Doc/*.html %changelog +* Fri Aug 7 2009 James Antill - 4.3.10-4 +- Allow --excludedocs command to work! +- Resolves: bug#515986 + * Mon Jul 27 2009 Fedora Release Engineering - 4.3.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild