packages (DEVEL): mksh/mksh.spec, mksh/arc4random.c (REMOVED) - snapshot fr...

draenog draenog at pld-linux.org
Mon May 9 23:48:42 CEST 2011


Author: draenog                      Date: Mon May  9 21:48:42 2011 GMT
Module: packages                      Tag: DEVEL
---- Log message:
- snapshot from CVS with many bugs fixed
- arc4random.c not longer used
- tests use perl and ed
- patch to test suite for nonzero exit code when failed

---- Files affected:
packages/mksh:
   mksh.spec (1.10 -> 1.10.2.1) , arc4random.c (1.1 -> NONE)  (REMOVED)

---- Diffs:

================================================================
Index: packages/mksh/mksh.spec
diff -u packages/mksh/mksh.spec:1.10 packages/mksh/mksh.spec:1.10.2.1
--- packages/mksh/mksh.spec:1.10	Wed Aug 25 01:21:48 2010
+++ packages/mksh/mksh.spec	Mon May  9 23:48:37 2011
@@ -1,16 +1,25 @@
 # $Revision$, $Date$
 %bcond_without	tests
+
+%define rel 1
+%define subver 20110507
+
 Summary:	MirBSD Korn Shell
 Summary(pl.UTF-8):	Powłoka Korna z MirBSD
 Name:		mksh
 Version:	39c
-Release:	0.1
+Release:	0.%{subver}.%{rel}
 License:	BSD
 Group:		Applications/Shells
-Source0:	http://www.mirbsd.org/MirOS/dist/mir/mksh/%{name}-R%{version}.cpio.gz
-# Source0-md5:	0c3cd172b47eefcdf9a302baa42f5092
-Source1:	http://www.mirbsd.org/MirOS/dist/hosted/other/arc4random.c
+#Source0:	http://www.mirbsd.org/MirOS/dist/mir/mksh/%{name}-R%{version}.cpio.gz
+Source0:	http://www.mirbsd.org/MirOS/dist/mir/mksh/%{name}-R%{version}.%{subver}.tar.gz
+# Source0-md5:	c934783b45f657229879540fea9c8558
+Patch0:		%{name}-exit_tests.patch
 URL:		http://mirbsd.de/mksh
+%if %{with tests}
+BuildRequires:	ed
+BuildRequires:	perl-base
+%endif
 BuildRequires:	rpmbuild(macros) >= 1.462
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -41,10 +50,8 @@
 rozszerzoną kompatybilność z innymi współczesnymi powłokami.
 
 %prep
-%setup -qcT
-gzip -dc %{SOURCE0} | cpio -mid
-mv mksh/* .; rmdir mksh
-cp -a %{SOURCE1} .
+%setup -q
+%patch0 -p0
 
 %build
 CC="%{__cc}" CFLAGS="%{rpmcppflags} %{rpmcflags}" sh ./Build.sh -Q -r -j
@@ -80,6 +87,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10.2.1  2011/05/09 21:48:37  draenog
+- snapshot from CVS with many bugs fixed
+- arc4random.c not longer used
+- tests use perl and ed
+- patch to test suite for nonzero exit code when failed
+
 Revision 1.10  2010/08/24 23:21:48  pawelz
 - up to 39c
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mksh/mksh.spec?r1=1.10&r2=1.10.2.1&f=u



More information about the pld-cvs-commit mailing list