From: Vincent Bernat Date: Wed, 26 Sep 2012 21:50:18 +0000 (+0200) Subject: redhat: don't build SNMP support on CentOS X-Git-Tag: 0.7.0~74 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=92b3c20a991b3a3010428d6b314d71d76b2bc329;p=thirdparty%2Flldpd.git redhat: don't build SNMP support on CentOS --- diff --git a/redhat/lldpd.spec b/redhat/lldpd.spec index 6661ea22..ea0d3232 100644 --- a/redhat/lldpd.spec +++ b/redhat/lldpd.spec @@ -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