From 1103c6dce2af830264d135cafdfbab68f1c5f9a5 Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Sun, 26 Jan 2014 09:58:54 -0600 Subject: misc/bcfg2.spec: Fix bcfg2-web Requires for EPEL7 Signed-off-by: Sol Jerome --- misc/bcfg2.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'misc') diff --git a/misc/bcfg2.spec b/misc/bcfg2.spec index 485c0fb17..4174bdcb3 100644 --- a/misc/bcfg2.spec +++ b/misc/bcfg2.spec @@ -72,7 +72,7 @@ BuildRequires: python-sqlalchemy BuildRequires: python-nose BuildRequires: mock BuildRequires: m2crypto -# EPEL uses the properly-named python-django start with EPEL7 +# EPEL uses the properly-named python-django starting with EPEL7 %if 0%{?rhel} && 0%{?rhel} > 6 BuildRequires: python-django %else @@ -283,8 +283,13 @@ Requires: python-django >= 1.2 Requires: python-django-south >= 0.7 %else Group: System Tools +# EPEL uses the properly-named python-django starting with EPEL7 +%if 0%{?rhel} && 0%{?rhel} > 6 +Requires: python-django +%else Requires: Django >= 1.2 Requires: Django-south >= 0.7 +%endif Requires: bcfg2-server %endif Requires: httpd -- cgit v1.2.3-1-g7c22