]> git.pld-linux.org Git - packages/nagios.git/commitdiff
- tests bcond (disabled for now) auto/th/nagios-3_1_2-1 auto/ti/nagios-3_1_2-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 9 Jul 2009 07:05:47 +0000 (07:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    nagios.spec -> 1.123

nagios.spec

index 2627a6e59f1621c892af78df5a94a0781a1a818d..8e9ba5c3f944ffc1fc76428abae9461441fbbdf2 100644 (file)
@@ -1,6 +1,8 @@
 #
 # Conditional build:
 %bcond_without gd      # without statusmap and trends, which require gd library
+# reeenable when http://tracker.nagios.org/view.php?id=51 is fixed
+%bcond_with    tests
 #
 Summary:       Host/service/network monitoring program
 Summary(pl.UTF-8):     Program do monitorowania serwerów/usług/sieci
@@ -198,11 +200,14 @@ cp -f /usr/share/automake/config.sub .
        --with-command-grp=%{name} \
        --with-lockfile=%{_localstatedir}/%{name}.pid \
        --with-ping_command='/bin/ping -n %%s -c %%d' \
-       --enable-event-broker \
-       %{!?with_gd:--disable-statusmap --disable-trends}
+       %{!?with_gd:--disable-statusmap --disable-trends} \
+       %{?with_tests:--enable-libtap} \
+       --enable-event-broker
 
 %{__make} all
 
+%{?with_tests:%{__make} test}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{/etc/{sysconfig,rc.d/init.d},%{_webapps}/%{_webapp}} \
This page took 0.13937 seconds and 4 git commands to generate.