From: Vincent Bernat Date: Sun, 6 Apr 2014 21:44:17 +0000 (+0200) Subject: redhat: enable SNMP support on RHEL 5 and CentOS 5 by default X-Git-Tag: 0.7.8~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d0b88676ed80054ed1447f35b7790439b5c80d12;p=thirdparty%2Flldpd.git redhat: enable SNMP support on RHEL 5 and CentOS 5 by default This is related with the fix in the previous commit (ae7f4c2). --- diff --git a/redhat/lldpd.spec b/redhat/lldpd.spec index d909f6a1..ea207458 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. 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