SPECS: syslog-ng2.spec - enable make check

arekm arekm at pld-linux.org
Sun Apr 12 09:26:37 CEST 2009


Author: arekm                        Date: Sun Apr 12 07:26:37 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- enable make check

---- Files affected:
SPECS:
   syslog-ng2.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/syslog-ng2.spec
diff -u SPECS/syslog-ng2.spec:1.7 SPECS/syslog-ng2.spec:1.8
--- SPECS/syslog-ng2.spec:1.7	Thu Apr  9 10:57:55 2009
+++ SPECS/syslog-ng2.spec	Sun Apr 12 09:26:32 2009
@@ -4,6 +4,7 @@
 #
 # Conditional build:
 %bcond_with	dynamic		# link dynamically with glib and eventlog
+%bcond_without	tests
 #
 Summary:	Syslog-ng - new generation of the system logger
 Summary(pl.UTF-8):	Syslog-ng - zamiennik syskloga
@@ -92,6 +93,8 @@
 
 %{__make}
 
+%{?with_tests:%{__make} check}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{/etc/{sysconfig,logrotate.d,rc.d/init.d},%{_sysconfdir}/syslog-ng} \
@@ -163,6 +166,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2009/04/12 07:26:32  arekm
+- enable make check
+
 Revision 1.7  2009/04/09 08:57:55  baggins
 - typo
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/syslog-ng2.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list