]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
redhat: enable SNMP support on RHEL 5 and CentOS 5 by default
authorVincent Bernat <vincent@bernat.im>
Sun, 6 Apr 2014 21:44:17 +0000 (23:44 +0200)
committerVincent Bernat <vincent@bernat.im>
Sun, 6 Apr 2014 21:44:17 +0000 (23:44 +0200)
This is related with the fix in the previous commit (ae7f4c2).

redhat/lldpd.spec

index d909f6a1cdc688c8f915e256ccfc2642779e9843..ea2074584b5b253b85d851ace83c1c2b605104bf 100644 (file)
@@ -15,8 +15,8 @@
 %bcond_without dot1
 %bcond_without dot3
 
-# On RHEL < 5, disable SNMP, Net-SNMP installation seems broken. CentOS 5 too.
-%if 0%{?rhel_version} > 0 && 0%{?rhel_version} < 600 || 0%{?centos_version} > 0 && 0%{?centos_version} < 600
+# On RHEL < 5, disable SNMP, Net-SNMP installation seems broken
+%if 0%{?rhel_version} > 0 && 0%{?rhel_version} < 500 || 0%{?centos_version} > 0 && 0%{?centos_version} < 500
 %bcond_with snmp
 %else
 %bcond_without snmp