From f991b422804f7ffaf9f6a88bdfbcec02498c2fcc Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Fri, 13 Apr 2012 14:00:15 -0400 Subject: rhel doesn't recognize Recommends tag either --- misc/bcfg2.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'misc/bcfg2.spec') diff --git a/misc/bcfg2.spec b/misc/bcfg2.spec index 9530af6d4..866f2f6ba 100644 --- a/misc/bcfg2.spec +++ b/misc/bcfg2.spec @@ -58,8 +58,8 @@ Requires: python-lxml >= 0.9 # iff we switch to the redhat one, this might not be needed anymore. Requires: redhat-lsb %endif -%if 0%{?fedora} == 0 -# fedora 15 and 16 (and possibly other distros) do not know this tag. +%if "%{_vendor}" != "redhat" +# fedora and rhel (and possibly other distros) do not know this tag. Recommends: cron %endif -- cgit v1.2.3-1-g7c22