summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2014-01-24 09:55:50 -0600
committerSol Jerome <sol.jerome@gmail.com>2014-01-24 09:55:50 -0600
commit1e2c612e336e87972d6f2713ebf477df79fe8440 (patch)
treedc1d85edb741697b7202ed76a2eebf7399aa2a06 /misc
parente957f89d17e431cd4210f08def2f62dfe8fcf91f (diff)
downloadbcfg2-1e2c612e336e87972d6f2713ebf477df79fe8440.tar.gz
bcfg2-1e2c612e336e87972d6f2713ebf477df79fe8440.tar.bz2
bcfg2-1e2c612e336e87972d6f2713ebf477df79fe8440.zip
misc/bcfg2.spec: Fix BuildRequires for RHEL7
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'misc')
-rw-r--r--misc/bcfg2.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/misc/bcfg2.spec b/misc/bcfg2.spec
index 15a560593..485c0fb17 100644
--- a/misc/bcfg2.spec
+++ b/misc/bcfg2.spec
@@ -72,7 +72,12 @@ BuildRequires: python-sqlalchemy
BuildRequires: python-nose
BuildRequires: mock
BuildRequires: m2crypto
+# EPEL uses the properly-named python-django start with EPEL7
+%if 0%{?rhel} && 0%{?rhel} > 6
+BuildRequires: python-django
+%else
BuildRequires: Django
+%endif
BuildRequires: python-genshi
BuildRequires: python-cheetah
BuildRequires: pylibacl