From d0b88676ed80054ed1447f35b7790439b5c80d12 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sun, 6 Apr 2014 23:44:17 +0200 Subject: [PATCH] redhat: enable SNMP support on RHEL 5 and CentOS 5 by default This is related with the fix in the previous commit (ae7f4c2). --- redhat/lldpd.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5