summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2014-01-26 09:58:54 -0600
committerSol Jerome <sol.jerome@gmail.com>2014-01-27 09:46:11 -0600
commit1103c6dce2af830264d135cafdfbab68f1c5f9a5 (patch)
tree9b3789ea32605fd6ecb4b01b71d40872851724d1 /misc
parentaf0187c69a933c83d08760d251c1284dcdc3d5fe (diff)
downloadbcfg2-1103c6dce2af830264d135cafdfbab68f1c5f9a5.tar.gz
bcfg2-1103c6dce2af830264d135cafdfbab68f1c5f9a5.tar.bz2
bcfg2-1103c6dce2af830264d135cafdfbab68f1c5f9a5.zip
misc/bcfg2.spec: Fix bcfg2-web Requires for EPEL7
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'misc')
-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