packages: lighttpd/lighttpd.spec - add tests bcond
glen
glen at pld-linux.org
Mon May 24 22:54:56 CEST 2010
Author: glen Date: Mon May 24 20:54:56 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- add tests bcond
---- Files affected:
packages/lighttpd:
lighttpd.spec (1.334 -> 1.335)
---- Diffs:
================================================================
Index: packages/lighttpd/lighttpd.spec
diff -u packages/lighttpd/lighttpd.spec:1.334 packages/lighttpd/lighttpd.spec:1.335
--- packages/lighttpd/lighttpd.spec:1.334 Mon May 24 22:21:06 2010
+++ packages/lighttpd/lighttpd.spec Mon May 24 22:54:50 2010
@@ -1,5 +1,7 @@
# $Revision$, $Date$
-# Conditional build for lighttpd:
+#
+# Conditional build:
+%bcond_with tests # build with tests
%bcond_without xattr # support of extended attributes
%bcond_without ipv6 # IPv4-only version (doesn't require IPv6 in kernel)
%bcond_without largefile # largefile support (see notes above)
@@ -860,6 +862,10 @@
# -j1 as src/mod_ssi_exprparser.h regeneration deps are broken
%{__make} -j1
+%if %{with tests}
+%{__make} check
+%endif
+
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_lighttpddir}/{cgi-bin,html},/etc/{logrotate.d,rc.d/init.d,sysconfig,monit}} \
@@ -1307,6 +1313,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.335 2010/05/24 20:54:50 glen
+- add tests bcond
+
Revision 1.334 2010/05/24 20:21:06 glen
- rename branch.sh script
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lighttpd/lighttpd.spec?r1=1.334&r2=1.335&f=u
More information about the pld-cvs-commit
mailing list