SPECS: apcupsd.spec - fixed BR, snmp default off
marcus
marcus at pld-linux.org
Sun Dec 4 20:57:25 CET 2005
Author: marcus Date: Sun Dec 4 19:57:25 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- fixed BR, snmp default off
---- Files affected:
SPECS:
apcupsd.spec (1.56 -> 1.57)
---- Diffs:
================================================================
Index: SPECS/apcupsd.spec
diff -u SPECS/apcupsd.spec:1.56 SPECS/apcupsd.spec:1.57
--- SPECS/apcupsd.spec:1.56 Sun Dec 4 20:25:09 2005
+++ SPECS/apcupsd.spec Sun Dec 4 20:57:20 2005
@@ -2,15 +2,15 @@
#
# Conditional build:
%bcond_without test # without TEST support
-%bcond_without usb # with USB support
-%bcond_without net # with network support
-%bcond_without snmp # with SNMP support
+%bcond_without usb # without USB support
+%bcond_without net # without network support
+%bcond_with snmp # with SNMP 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.18
-Release: 2
+Release: 3
License: GPL v2
Group: Networking/Daemons
Source0: http://dl.sourceforge.net/apcupsd/%{name}-%{version}.tar.gz
@@ -22,6 +22,7 @@
URL: http://www.apcupsd.com/
BuildRequires: autoconf
BuildRequires: automake
+%{?with_snmp:BuildRequires: net-snmp-devel}
Requires(post): fileutils
Requires(post,preun): /sbin/chkconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -57,7 +58,7 @@
--with-stat-dir=%{_var}/lib/apcupsd \
%{?with_test:--enable-test} \
%{?with_net:--enable-net} \
- %{?with_net:--enable-snmp} \
+ %{?with_snmp:--enable-snmp} \
%if %{with usb}
--enable-usb \
--with-serial-dev=/dev/usb/hiddev[0-15] \
@@ -133,6 +134,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.57 2005/12/04 19:57:20 marcus
+- fixed BR, snmp default off
+
Revision 1.56 2005/12/04 19:25:09 marcus
- network,snmp and usb enabled by default
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/apcupsd.spec?r1=1.56&r2=1.57&f=u
More information about the pld-cvs-commit
mailing list