Author: glen                         Date: Wed Apr 21 11:07:30 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- run tests

---- Files affected:
packages/frauddetector:
   frauddetector.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/frauddetector/frauddetector.spec
diff -u packages/frauddetector/frauddetector.spec:1.2 
packages/frauddetector/frauddetector.spec:1.3
--- packages/frauddetector/frauddetector.spec:1.2       Wed Apr 21 13:04:45 2010
+++ packages/frauddetector/frauddetector.spec   Wed Apr 21 13:07:22 2010
@@ -1,4 +1,8 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests           # don't build and run tests
+
 %define                svnrev  79
 %define                rel             0.2
 %include       /usr/lib/rpm/macros.java
@@ -50,6 +54,10 @@
 %build
 %ant
 
+%if %{with tests}
+%java -jar %{name}.jar test/conf.properties
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_javadir},%{_appdir}}
@@ -73,6 +81,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2010/04/21 11:07:22  glen
+- run tests
+
 Revision 1.2  2010/04/21 11:04:45  glen
 - builds on ac
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/frauddetector/frauddetector.spec?r1=1.2&r2=1.3&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to