diff --git a/zsh.spec b/zsh.spec index dca0bf8..6ae91d6 100644 --- a/zsh.spec +++ b/zsh.spec @@ -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 - 4.2.6-3 +- Link with ncurses +- Add dist tag +- Make scriptlets safer + * Tue Sep 19 2006 James Antill - 4.2.6-2 - Add --enable-maildir-support BZ#186281