- Link with ncurses

- Add dist tag
- Make scriptlets safer
This commit is contained in:
Miroslav Lichvar 2007-01-16 19:11:08 +00:00
parent d937758088
commit 4cff864b37

View File

@ -3,7 +3,7 @@
Summary: A powerful interactive shell
Name: zsh
Version: 4.2.6
Release: 2
Release: 3%{?dist}
License: BSD
URL: http://zsh.sunsite.dk/
Group: System Environment/Shells
@ -21,7 +21,7 @@ Patch1: zsh-4.0.6-make-test-fail.patch
Prereq: fileutils grep /sbin/install-info
Buildroot: %{_tmppath}/%{name}-%{version}-root
Requires: libcap
BuildRequires: libtermcap-devel libcap-devel texinfo tetex texi2html
BuildRequires: ncurses-devel libcap-devel texinfo tetex texi2html
%{?_without_check: %define _without_check 1}
%{!?_without_check: %define _without_check 0}
@ -106,12 +106,14 @@ fi
/sbin/install-info %{_infodir}/zsh.info.gz %{_infodir}/dir \
--entry="* zsh: (zsh). An enhanced bourne shell."
:
%preun
if [ "$1" = 0 ] ; then
/sbin/install-info --delete %{_infodir}/zsh.info.gz %{_infodir}/dir \
--entry="* zsh: (zsh). An enhanced bourne shell."
fi
:
%postun
if [ "$1" = 0 ] ; then
@ -140,6 +142,11 @@ fi
%doc Doc/zsh/*.html
%changelog
* Tue Jan 16 2007 Miroslav Lichvar <mlichvar@redhat.com> - 4.2.6-3
- Link with ncurses
- Add dist tag
- Make scriptlets safer
* Tue Sep 19 2006 James Antill <jantill@redhat.com> - 4.2.6-2
- Add --enable-maildir-support BZ#186281