- Upgrade to 32

- Solved fork problems in %check (thanks to Thorsten Glaser)
This commit is contained in:
Robert Scheck 2007-11-09 23:49:42 +00:00
parent 5d8bd4548d
commit 9f206044b2
3 changed files with 15 additions and 4 deletions

View File

@ -1,2 +1,2 @@
mksh-R31d.cpio.gz
mksh-R32.cpio.gz
arc4random.c

View File

@ -2,7 +2,7 @@
Summary: MirBSD enhanced version of the Korn Shell
Name: mksh
Version: 31d
Version: 32
Release: 1%{?dist}
License: BSD with advertising
Group: System Environment/Shells
@ -38,7 +38,14 @@ install -D -m 755 %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
install -D -m 644 %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
%check
script -qc "./test.sh -v"
echo > test.wait
script -qc './test.sh -v; x=$?; rm -f test.wait; exit $x'
maxwait=0
while test -e test.wait; do
sleep 1
maxwait=$(expr $maxwait + 1)
test $maxwait -lt 900 || break
done
%post
if [ ! -f %{_sysconfdir}/shells ]; then
@ -64,6 +71,10 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/%{name}.1*
%changelog
* Sat Nov 10 2007 Robert Scheck <robert@fedoraproject.org> 32-1
- Upgrade to 32
- Solved fork problems in %%check (thanks to Thorsten Glaser)
* Mon Oct 15 2007 Robert Scheck <robert@fedoraproject.org> 31d-1
- Upgrade to 31d

View File

@ -1,2 +1,2 @@
a7c77428bd2b887c1583095a00c84aac mksh-R31d.cpio.gz
c54c416de790c67c0f4409008a68efd4 mksh-R32.cpio.gz
4c61767ff91253869cff5f7b366d54af arc4random.c