]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
redhat: don't build SNMP support on CentOS
authorVincent Bernat <bernat@luffy.cx>
Wed, 26 Sep 2012 21:50:18 +0000 (23:50 +0200)
committerVincent Bernat <bernat@luffy.cx>
Wed, 26 Sep 2012 21:50:18 +0000 (23:50 +0200)
redhat/lldpd.spec

index 6661ea2279e6c8ce82c276bdd79b0fc6dac3a1ee..ea0d32326e87f3946db54398c214db661f312f34 100644 (file)
@@ -15,8 +15,8 @@
 %bcond_without dot1
 %bcond_without dot3
 
-# On RHEL < 5, disable SNMP, Net-SNMP installation seems broken
-%if 0%{?rhel_version} > 0 && 0%{?rhel_version} < 600
+# 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
 %bcond_with snmp
 %else
 %bcond_without snmp