From 1e2c612e336e87972d6f2713ebf477df79fe8440 Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Fri, 24 Jan 2014 09:55:50 -0600 Subject: misc/bcfg2.spec: Fix BuildRequires for RHEL7 Signed-off-by: Sol Jerome --- misc/bcfg2.spec | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'misc') 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 -- cgit v1.2.3-1-g7c22