summaryrefslogtreecommitdiffstats
path: root/misc/bcfg2.spec
diff options
context:
space:
mode:
Diffstat (limited to 'misc/bcfg2.spec')
-rw-r--r--misc/bcfg2.spec7
1 files changed, 6 insertions, 1 deletions
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