From cbffba8825aca849d6fbb04cbfd0b3045592da51 Mon Sep 17 00:00:00 2001 From: Xavier Bachelot Date: Wed, 8 Jan 2020 12:38:10 +0100 Subject: [PATCH] Tweak BR on python 2 lxml module for EL6 and EL7 --- lasso.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lasso.spec b/lasso.spec index f9e0d2e..ab8648f 100644 --- a/lasso.spec +++ b/lasso.spec @@ -162,7 +162,11 @@ PHP language bindings for the lasso (Liberty Alliance Single Sign On) library. Summary: Liberty Alliance Single Sign On (lasso) Python bindings BuildRequires: python2 BuildRequires: python2-devel +%if 0%{?rhel} && 0%{?rhel} <= 7 +BuildRequires: python-lxml +%else BuildRequires: python2-lxml +%endif BuildRequires: python2-six Requires: python2 Requires: %{name}%{?_isa} = %{version}-%{release}