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