SPECS: tzdata.spec - added tests bcond

arekm arekm at pld-linux.org
Thu Nov 1 21:38:16 CET 2007


Author: arekm                        Date: Thu Nov  1 20:38:16 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added tests bcond

---- Files affected:
SPECS:
   tzdata.spec (1.27 -> 1.28) 

---- Diffs:

================================================================
Index: SPECS/tzdata.spec
diff -u SPECS/tzdata.spec:1.27 SPECS/tzdata.spec:1.28
--- SPECS/tzdata.spec:1.27	Thu Nov  1 21:36:25 2007
+++ SPECS/tzdata.spec	Thu Nov  1 21:38:11 2007
@@ -1,6 +1,7 @@
 # $Revision$, $Date$
 %define	_tzdata_ver	2007i
 %define	_tzcode_ver	2007h
+%bcond_without	tests
 Summary:	Timezone data
 Summary(pl.UTF-8):	Dane o strefach czasowych
 Name:		tzdata
@@ -75,11 +76,13 @@
 
 %{__make} install
 
+%if %{with tests}
 : ====================TESTING=========================
 %{__make} check \
 	CC="%{__cc}" \
 	CFLAGS="%{rpmcflags} %{rpmldflags}"
 : ====================TESTING END=====================
+%endif
 
 
 # glibc.spec didn't keep it. so won't here either.
@@ -129,6 +132,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.28  2007/11/01 20:38:11  arekm
+- added tests bcond
+
 Revision 1.27  2007/11/01 20:36:25  arekm
 - tzdata 2007i/tzcode 2007h; test fails on Asia/Tokyo timezone
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/tzdata.spec?r1=1.27&r2=1.28&f=u



More information about the pld-cvs-commit mailing list