summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--misc/bcfg2.spec4
1 files changed, 2 insertions, 2 deletions
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