ksh updated to 2011-06-30

This commit is contained in:
Michal Hlavinka 2011-07-01 16:33:36 +02:00
parent 99a963dc26
commit 85f580bd4c
3 changed files with 14 additions and 10 deletions

2
.gitignore vendored
View File

@ -34,3 +34,5 @@ INIT.2010-07-01.tgz
/INIT.2011-04-28.tgz
/ast-ksh.2011-05-05.tgz
/INIT.2011-05-05.tgz
/ast-ksh.2011-06-30.tgz
/INIT.2011-06-30.tgz

View File

@ -1,12 +1,12 @@
%global releasedate 2011-05-05
%global releasedate 2011-06-30
Name: ksh
Summary: The Original ATT Korn Shell
URL: http://www.kornshell.com/
Group: System Environment/Shells
License: CPL
Version: 20110505
Release: 2%{?dist}
Version: 20110630
Release: 1%{?dist}
Source0: http://www.research.att.com/~gsf/download/tgz/ast-ksh.%{releasedate}.tgz
Source1: http://www.research.att.com/~gsf/download/tgz/INIT.%{releasedate}.tgz
Source3: kshrc.rhs
@ -20,8 +20,6 @@ Patch1: ksh-20070328-builtins.patch
#fix regression test suite to be usable during packagebuild - Fedora/RHEL specific
Patch2: ksh-20100826-fixregr.patch
Patch3: ksh-20110505-resume.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Conflicts: pdksh
Requires: coreutils, glibc-common, diffutils
@ -42,7 +40,6 @@ with "sh" (the Bourne Shell).
%setup -q -T -D -a 1
%patch1 -p1 -b .builtins
%patch2 -p1 -b .fixregr
%patch3 -p1 -b .resume
#/dev/fd test does not work because of mock
sed -i 's|ls /dev/fd|ls /proc/self/fd|' src/cmd/ksh93/features/options
@ -55,7 +52,8 @@ export CCFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
export CC=gcc
./bin/package "make"
cp lib/package/LICENSES/ast LICENSE
#missing in latest tarball
#cp lib/package/LICENSES/ast LICENSE
%install
rm -rf $RPM_BUILD_ROOT
@ -110,7 +108,8 @@ fi
%files
%defattr(-, root, root,-)
%doc README LICENSE
# LICENSE missing in latest tarball
%doc README
/bin/ksh
/usr/bin/shcomp
%{_mandir}/man1/*
@ -121,6 +120,9 @@ fi
rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Jul 01 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110630-1
- ksh updated to 2011-06-30
* Wed Jun 08 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110505-2
- fix: resume of suspended process using pipes does not work (#708909)

View File

@ -1,2 +1,2 @@
66017586210d33bc45641bb4f63c9325 ast-ksh.2011-05-05.tgz
438bbad8d15f408f9e1eeba8cb530d50 INIT.2011-05-05.tgz
5f07713ecdb7dc2caa1def00672b308a ast-ksh.2011-06-30.tgz
de7e347b8e33130daad338a1e29112ff INIT.2011-06-30.tgz