packages: mksh/mksh.spec - up to 39; rpmcppflags in use; tests bcond

arekm arekm at pld-linux.org
Mon Feb 22 22:52:44 CET 2010


Author: arekm                        Date: Mon Feb 22 21:52:44 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 39; rpmcppflags in use; tests bcond

---- Files affected:
packages/mksh:
   mksh.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: packages/mksh/mksh.spec
diff -u packages/mksh/mksh.spec:1.8 packages/mksh/mksh.spec:1.9
--- packages/mksh/mksh.spec:1.8	Mon Feb 22 20:32:33 2010
+++ packages/mksh/mksh.spec	Mon Feb 22 22:52:39 2010
@@ -1,13 +1,14 @@
 # $Revision$, $Date$
+%bcond_without	tests
 Summary:	MirBSD Korn Shell
 Summary(pl.UTF-8):	Powłoka Korna z MirBSD
 Name:		mksh
-Version:	36
+Version:	39
 Release:	0.1
 License:	BSD
 Group:		Applications/Shells
 Source0:	http://www.mirbsd.org/MirOS/dist/mir/mksh/%{name}-R%{version}.cpio.gz
-# Source0-md5:	9962d052a1571ba843965c6253819ac4
+# Source0-md5:	b2eeb4fe4ccac2704e1440e53cd2672c
 Source1:	http://www.mirbsd.org/MirOS/dist/hosted/other/arc4random.c
 URL:		http://mirbsd.de/mksh
 BuildRequires:	rpmbuild(macros) >= 1.462
@@ -46,8 +47,9 @@
 cp -a %{SOURCE1} .
 
 %build
-CC="%{__cc}" CFLAGS="%{rpmcflags}" sh ./Build.sh -Q -r -j
-./test.sh -v
+CC="%{__cc}" CFLAGS="%{rpmcppflags} %{rpmcflags}" sh ./Build.sh -Q -r -j
+
+%{?with_tests:./test.sh -v}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -78,6 +80,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2010/02/22 21:52:39  arekm
+- up to 39; rpmcppflags in use; tests bcond
+
 Revision 1.8  2010/02/22 19:32:33  glen
 - use %lua_{remove|add}_etc_shells macros
 - FHS and setup macros should be automatic
================================================================

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



More information about the pld-cvs-commit mailing list