- Allow --excludedocs command to work!
- Resolves: bug#515986
This commit is contained in:
parent
3fcc40fc09
commit
41a26d8db5
13
zsh.spec
13
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,15 +130,22 @@ 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
|
||||
:
|
||||
|
||||
%postun
|
||||
@ -168,6 +175,10 @@ fi
|
||||
%doc Doc/*.html
|
||||
|
||||
%changelog
|
||||
* Fri Aug 7 2009 James Antill <james@fedoraproject.org> - 4.3.10-4
|
||||
- Allow --excludedocs command to work!
|
||||
- Resolves: bug#515986
|
||||
|
||||
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.3.10-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user