]> git.pld-linux.org Git - packages/lighttpd.git/commitdiff
- add tests bcond
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 24 May 2010 20:54:50 +0000 (20:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lighttpd.spec -> 1.335

lighttpd.spec

index bf9fa24436bed97f5252cb556ee21237e142ae40..f4877dd7d4c189fa3ddb58fa77528453b45649e9 100644 (file)
@@ -1,4 +1,6 @@
-# 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)
@@ -859,6 +861,10 @@ fi
 # -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}} \
This page took 0.155646 seconds and 4 git commands to generate.