From 780e843d03a3e64715732af7bac4e3cf8f8c83a5 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 23 Sep 2015 18:25:34 +0200 Subject: [PATCH] redhat: on RHEL 6, enable oldies support --- redhat/lldpd.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redhat/lldpd.spec b/redhat/lldpd.spec index ed818cdd..05995b35 100644 --- a/redhat/lldpd.spec +++ b/redhat/lldpd.spec @@ -25,8 +25,8 @@ %bcond_without snmp %endif -# On RHEL < 6, compile with oldies -%if 0%{?rhel_version} > 0 && 0%{?rhel_version} < 600 || 0%{?centos_version} > 0 && 0%{?centos_version} < 600 +# On RHEL <= 6, compile with oldies +%if 0%{?rhel_version} > 0 && 0%{?rhel_version} < 700 || 0%{?centos_version} > 0 && 0%{?centos_version} < 700 %bcond_without oldies %else %bcond_with oldies -- 2.39.5