From 3d1d3eb0a523ab8bd611ce0d9d4c1b0c9e9d4d06 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Jun 29 2018 15:27:55 +0000 Subject: Prepare for modules Make specfile common to Fedora and EPEL Signed-off-by: Stephen Gallagher --- diff --git a/RBTools.spec b/RBTools.spec index 2f07d33..729f336 100644 --- a/RBTools.spec +++ b/RBTools.spec @@ -11,11 +11,20 @@ URL: http://www.review-board.org Source0: http://downloads.review-board.org/releases/%{name}/0.6/%{name}-%{version}.tar.gz BuildArch: noarch + +%if 0%{?rhel} && 0%{?rhel} <= 7 +BuildRequires: python-devel +BuildRequires: python-setuptools +Requires: python-setuptools +Requires: python-simplejson +Requires: python-six +%else BuildRequires: python2-devel BuildRequires: python2-setuptools Requires: python2-setuptools Requires: python2-simplejson Requires: python2-six +%endif Requires: python2-tqdm ### Patches ###