[Pacemaker] [PATCH] Medium: build: require Net-SNMP 5.3 or later
Florian Haas
florian.haas at linbit.com
Wed Mar 17 08:11:41 UTC 2010
# HG changeset patch
# User Florian Haas <florian.haas at linbit.com>
# Date 1268813453 -3600
# Branch stable-1.0
# Node ID 6f008f4c9710758972d2065c58c2800ba4694492
# Parent 2a76c6ac04bcccf42b89a08e55bfbd90da2fb49a
Medium: build: require Net-SNMP 5.3 or later
Changeset ff75cd9e1093 introduced support for Net-SNMP 5.3, but
apparently no-one bothered to update the spec file. That way, while
SNMP support works now works on Net-SNMP 5.3 platforms like RHEL 5,
it won't install due to unsatisfied dependencies.
Fix the spec file to require net-snmp and net-snmp-devel >= 5.3.
diff -r 2a76c6ac04bc -r 6f008f4c9710 pacemaker.spec
--- a/pacemaker.spec Tue Mar 16 21:07:00 2010 +0100
+++ b/pacemaker.spec Wed Mar 17 09:10:53 2010 +0100
@@ -33,7 +33,7 @@
# ESMTP is not available in RHEL, only in EPEL. Allow people to build
# the RPM without ESMTP in case they choose not to use EPEL packages
%bcond_without esmtp
-# SNMP trap support only works with Net-SNMP 5.4 and above
+# SNMP trap support only works with Net-SNMP 5.3 and above
%bcond_without snmp
Name: pacemaker
@@ -75,8 +75,8 @@
%endif
%if %{with snmp}
-BuildRequires: net-snmp-devel >= 5.4
-Requires: net-snmp >= 5.4
+BuildRequires: net-snmp-devel >= 5.3
+Requires: net-snmp >= 5.3
%endif
%if %{with ais}
More information about the Pacemaker
mailing list