packages: libpng/libpng.spec - run test suite

arekm arekm at pld-linux.org
Fri Feb 5 22:41:00 CET 2010


Author: arekm                        Date: Fri Feb  5 21:41:00 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- run test suite

---- Files affected:
packages/libpng:
   libpng.spec (1.179 -> 1.180) 

---- Diffs:

================================================================
Index: packages/libpng/libpng.spec
diff -u packages/libpng/libpng.spec:1.179 packages/libpng/libpng.spec:1.180
--- packages/libpng/libpng.spec:1.179	Fri Jan 29 23:43:07 2010
+++ packages/libpng/libpng.spec	Fri Feb  5 22:40:55 2010
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%bcond_without	tests
 Summary:	PNG library
 Summary(de.UTF-8):	PNG-Library
 Summary(es.UTF-8):	Biblioteca PNG
@@ -151,7 +152,9 @@
 %{__make} -C contrib/pngminus -f makefile.std \
 	LIBPATH=%{_libdir} \
 	CC="%{__cc}" \
-	OPT_FLAGS="%{rpmcflags}"
+	OPT_FLAGS="%{rpmcppflags} %{rpmcflags}"
+
+%{?with_tests:%{__make} check}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -209,6 +212,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.180  2010/02/05 21:40:55  arekm
+- run test suite
+
 Revision 1.179  2010/01/29 22:43:07  arekm
 - rel 2; enable read dither
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libpng/libpng.spec?r1=1.179&r2=1.180&f=u



More information about the pld-cvs-commit mailing list