- update to 2008-11-04

- don't use obsolete ast-ksh-locales
This commit is contained in:
Michal Hlavinka 2009-01-20 12:07:55 +00:00
parent 9d5844ce66
commit b30d358d2f
3 changed files with 19 additions and 39 deletions

View File

@ -1,3 +1,2 @@
INIT.2008-07-25.tgz INIT.2008-11-04.tgz
ast-ksh.2008-07-25.tgz ast-ksh.2008-11-04.tgz
ast-ksh-locale.2008-07-25.tgz

View File

@ -1,29 +1,20 @@
#ExclusiveArch: x86_64 %define releasedate 2008-11-04
%define releasedate 2008-07-25
#ExcludeArch: ia64
Name: ksh Name: ksh
Summary: The Original ATT Korn Shell Summary: The Original ATT Korn Shell
URL: http://www.kornshell.com/ URL: http://www.kornshell.com/
Group: System Environment/Shells Group: System Environment/Shells
License: CPL License: CPL
Version: 20080725 Version: 20081104
Release: 4%{?dist} Release: 1%{?dist}
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-ksh-locale.%{releasedate}.tgz
Source3: kshrc.rhs Source3: kshrc.rhs
Source4: dotkshrc Source4: dotkshrc
#Patch0: ksh-20041225-gcc4.patch
Patch1: ksh-20070328-uname.patch
Patch2: ksh-20070328-useex.patch
Patch3: ksh-20070328-builtins.patch
Patch4: ksh-20080725-ttou.patch
Patch5: ksh-20070628-unaligned.patch
# for debugging only:
#Patch100: ksh-20060124-iffedebug.patch
# build information #don't use not wanted/needed builtins
Patch1: ksh-20070328-builtins.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Provides: ksh93 Provides: ksh93
Obsoletes: ksh93 Obsoletes: ksh93
@ -42,14 +33,7 @@ with "sh" (the Bourne Shell).
%prep %prep
%setup -q -c %setup -q -c
%setup -q -T -D -a 1 %setup -q -T -D -a 1
%setup -q -T -D -a 2 %patch1 -p1 -b .builtins
#%patch0 -p1 -b .gcc4
%patch1 -p1 -b .uname
%patch2 -p1 -b .use_ex
%patch3 -p1 -b .builtins
#%patch4 -p1 -b .ttou
%patch5 -p1 -b .unaligned
#patch100 -p1 -b .iffedebug
%build %build
./bin/package "read" ||: ./bin/package "read" ||:
@ -60,15 +44,10 @@ cp lib/package/LICENSES/ast LICENSE
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT{/bin,/usr/bin,%{_mandir}/man1} mkdir -p $RPM_BUILD_ROOT{/bin,%{_bindir},%{_mandir}/man1}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/locale/{C,pt,fr,de,it,es}/LC_MESSAGES
install -c -m 755 arch/*/bin/ksh $RPM_BUILD_ROOT/bin/ksh install -c -m 755 arch/*/bin/ksh $RPM_BUILD_ROOT/bin/ksh
install -c -m 644 arch/*/man/man1/sh.1 $RPM_BUILD_ROOT%{_mandir}/man1/ksh.1 install -c -m 644 arch/*/man/man1/sh.1 $RPM_BUILD_ROOT%{_mandir}/man1/ksh.1
for i in C pt fr de it es; do ln -sf ../../bin/ksh $RPM_BUILD_ROOT%{_bindir}/ksh
install -m 644 share/lib/locale/$i/LC_MESSAGES/* \
$RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES/
done
ln -sf /bin/ksh $RPM_BUILD_ROOT/usr/bin/ksh
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/skel mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/skel
install -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/skel/.kshrc install -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/skel/.kshrc
install -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/kshrc install -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/kshrc
@ -101,9 +80,8 @@ fi
%files %files
%defattr(-, root, root,-) %defattr(-, root, root,-)
%doc README LICENSE %doc README LICENSE
/bin/* /bin/ksh
/usr//bin/ksh %{_bindir}/ksh
%{_datadir}/locale/*/LC_MESSAGES/*
%{_mandir}/man1/* %{_mandir}/man1/*
%config(noreplace) %{_sysconfdir}/skel/.kshrc %config(noreplace) %{_sysconfdir}/skel/.kshrc
%config(noreplace) %{_sysconfdir}/kshrc %config(noreplace) %{_sysconfdir}/kshrc
@ -112,6 +90,10 @@ fi
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Tue Oct 21 2008 Michal Hlavinka <mhlavink@redhat.com> 20080202-4
- update to 2008-11-04
- ast-ksh-locales are not useable remove them
* Tue Oct 21 2008 Michal Hlavinka <mhlavink@redhat.com> 20080202-4 * Tue Oct 21 2008 Michal Hlavinka <mhlavink@redhat.com> 20080202-4
- fix #467025 - Ksh fails to initialise environment when login from graphic console - fix #467025 - Ksh fails to initialise environment when login from graphic console

View File

@ -1,3 +1,2 @@
59bd2850ce70bd93db3760578e237449 INIT.2008-07-25.tgz adb05b9940046d3ca6b4b24038131725 INIT.2008-11-04.tgz
aa6031753184ce6a5d08a8abc8c0ab92 ast-ksh.2008-07-25.tgz 630096418741335fd757cda3f054aa11 ast-ksh.2008-11-04.tgz
cd5b1720c1c0584e13cc689e75b4baf2 ast-ksh-locale.2008-07-25.tgz