Fix python-keystoneauth1 build error

python-keystoneauth1 has a BuildRequires on python2-betamax.
The centos76 merged a change that upreved us from
python-betamax-0.7.0-1.el7.noarch.rpm to
python-betamax-0.7.1-1.el7.noarch.rpm.

python-betamax-0.7.0-1.el7.noarch.rpm used to provide:
python-betamax = 0.7.0-1.el7
python2-betamax = 0.7.0-1.el7

python-betamax-0.7.1-1.el7.noarch.rpm only provides:
python-betamax = 0.7.1-1.el7

Solution:
Modify the python-keystoneauth1 spec file to BuildRequires
python-betamax rather than python2-betamax.

Closes-Bug: 1819717
Change-Id: I71fc9405db6f62bb91cbda79d07eb125b1744cc1
Signed-off-by: Scott Little <scott.little@windriver.com>
This commit is contained in:
Scott Little 2019-03-12 11:28:04 -04:00
parent 648757f152
commit 870b56de70

View File

@ -37,7 +37,8 @@ BuildRequires: python2-six
BuildRequires: python2-pbr >= 2.0.0 BuildRequires: python2-pbr >= 2.0.0
# test requires # test requires
BuildRequires: python2-betamax >= 0.7.0 # BuildRequires: python2-betamax >= 0.7.0
BuildRequires: python-betamax >= 0.7.0
BuildRequires: python2-fixtures >= 1.3.1 BuildRequires: python2-fixtures >= 1.3.1
BuildRequires: python2-oslotest BuildRequires: python2-oslotest
BuildRequires: python2-oslo-utils BuildRequires: python2-oslo-utils