Tweak BR on python 2 lxml module for EL6 and EL7

This commit is contained in:
Xavier Bachelot 2020-01-08 12:38:10 +01:00
parent de1420fe86
commit cbffba8825

View File

@ -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}