rpms/apcupsd/devel apcupsd.spec,1.35,1.36
Michal Hlavinka
mhlavink at fedoraproject.org
Fri Sep 18 15:06:31 UTC 2009
Author: mhlavink
Update of /cvs/extras/rpms/apcupsd/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23684
Modified Files:
apcupsd.spec
Log Message:
* Fri Sep 18 2009 Michal Hlavinka <mhlavink at redhat.com> - 3.14.7-3
- fix building with new net-snmp version
Index: apcupsd.spec
===================================================================
RCS file: /cvs/extras/rpms/apcupsd/devel/apcupsd.spec,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -p -r1.35 -r1.36
--- apcupsd.spec 21 Aug 2009 12:23:40 -0000 1.35
+++ apcupsd.spec 18 Sep 2009 15:06:31 -0000 1.36
@@ -1,6 +1,6 @@
Name: apcupsd
Version: 3.14.7
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: APC UPS Power Control Daemon for Linux
Group: System Environment/Daemons
@@ -61,6 +61,7 @@ A GUI interface to the APC UPS monitorin
%build
cp -p /usr/lib/rpm/config.{guess,sub} autoconf/
+export CPPFLAGS="$CPPFLAGS -DNETSNMP_NO_LEGACY_DEFINITIONS"
%configure \
--sysconfdir="%{_sysconfdir}/apcupsd" \
--with-cgi-bin="%{_localstatedir}/www/apcupsd" \
@@ -123,7 +124,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-)
%doc COPYING ChangeLog examples ReleaseNotes
%dir %{_sysconfdir}/apcupsd
-%{_initrddir}/apcupsd
+%{_initddir}/apcupsd
%config(noreplace) %{_sysconfdir}/apcupsd/apcupsd.conf
%attr(0755,root,root) %{_sysconfdir}/apcupsd/apccontrol
%config(noreplace) %{_sysconfdir}/apcupsd/changeme
@@ -172,6 +173,9 @@ fi
%changelog
+* Fri Sep 18 2009 Michal Hlavinka <mhlavink at redhat.com> - 3.14.7-3
+- fix building with new net-snmp version
+
* Fri Aug 21 2009 Tomas Mraz <tmraz at redhat.com> - 3.14.7-2
- rebuilt with new openssl
More information about the fedora-extras-commits
mailing list