- fix uname -i output

- fix loop (*-path.patch)
- conflict pdksh instead of obsoleting it
This commit is contained in:
Karsten Hopp 2006-02-02 11:23:08 +00:00
parent 2e9b9f6a64
commit fd54fb9de3

View File

@ -1,5 +1,5 @@
%define releasedate 2005-02-02 %define releasedate 2005-02-02
ExcludeArch: ia64 #ExcludeArch: ia64
Name: ksh Name: ksh
Summary: The Original ATT Korn Shell Summary: The Original ATT Korn Shell
@ -7,19 +7,20 @@ URL: http://www.kornshell.com/
Group: Applications/Shells Group: Applications/Shells
License: Common Public License Version 1.0 License: Common Public License Version 1.0
Version: 20050202 Version: 20050202
Release: 3.1 Release: 2
Source0: http://www.research.att.com/~gsf/download/tgz/ast-ksh.%{releasedate}.tgz 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 Source1: http://www.research.att.com/~gsf/download/tgz/INIT.%{releasedate}.tgz
Source2: http://www.research.att.com/~gsf/download/tgz/ast-base-locale.%{releasedate}.tgz Source2: http://www.research.att.com/~gsf/download/tgz/ast-base-locale.%{releasedate}.tgz
Patch0: ksh-2004-02-29-ppc64.patch Patch0: ksh-2004-02-29-ppc64.patch
Patch1: ksh-20041225-gcc4.patch Patch1: ksh-20041225-gcc4.patch
Patch2: ksh-20050202-path.patch
Patch3: ksh-20050202-uname.patch
# build information # build information
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
Provides: ksh93 Provides: ksh93
Obsoletes: ksh93 Obsoletes: ksh93
Provides: pdksh Conflicts: pdksh
Obsoletes: pdksh
%description %description
KSH-93 is the most recent version of the KornShell by David Korn of KSH-93 is the most recent version of the KornShell by David Korn of
@ -33,9 +34,12 @@ with "sh" (the Bourne Shell).
%setup -q -T -D -a 2 %setup -q -T -D -a 2
#%patch0 -p1 -b .ppc64 #%patch0 -p1 -b .ppc64
%patch1 -p1 -b .gcc4 %patch1 -p1 -b .gcc4
%patch2 -p1 -b .path
%patch3 -p1 -b .uname
%build %build
./bin/package "read" ||: ./bin/package "read" ||:
#export CCFLAGS="-O0 -ggdb"
./bin/package "make" ./bin/package "make"
cp lib/package/LICENSES/ast LICENSE cp lib/package/LICENSES/ast LICENSE
@ -88,6 +92,11 @@ fi
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Thu Feb 02 2006 Karsten Hopp <karsten@redhat.de> 20050202-2
- fix uname -i output
- fix loop (*-path.patch)
- conflict pdksh instead of obsoleting it
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com> * Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt for new gcj - rebuilt for new gcj