]> git.pld-linux.org Git - packages/apcupsd.git/commitdiff
- bconded test support (enable by default)
authorSławomir Paszkiewicz <paszczus@pld-linux.org>
Thu, 7 Oct 2004 12:21:47 +0000 (12:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- release 2

Changed files:
    apcupsd.spec -> 1.46

apcupsd.spec

index 41c44737e1c662e78e32e159376a955e9c8b48be..b53279706d3edf217e6fc3b13a08b6dec888bec0 100644 (file)
@@ -1,12 +1,13 @@
 #
 # Conditional build:
+%bcond_without  test   # without TEST support
 %bcond_with    usb     # with USB support
 #
 Summary:       Power management software for APC UPS hardware
 Summary(pl):   Oprogramowanie do zarz±dzania energi± dla UPS-ów APC
 Name:          apcupsd
 Version:       3.10.15
-Release:       1
+Release:       2
 License:       GPL v2
 Group:         Networking/Daemons
 Source0:       http://dl.sourceforge.net/apcupsd/%{name}-%{version}.tar.gz
@@ -50,6 +51,9 @@ cd ..
 %configure \
        --with-log-dir=%{_var}/log \
        --with-stat-dir=%{_var}/lib/apcupsd \
+%if %{with test}
+       --enable-test \
+%endif
 %if %{with usb}
        --enable-usb \
        --with-serial-dev=/dev/usb/hiddev[0-15] \
This page took 0.104593 seconds and 4 git commands to generate.