bindep.txt: Use RedHat and SUSE platforms in bindep.txt

Newest bindep supports the 'redhat' and 'suse' platforms to group
together the CentOS, Fedora, RHEL and openSUSE, SUSE distributions
respectively. As such, update the bindep.txt file to use these
platforms and always require bindep>=2.4.0 which added support for them.

Change-Id: I5490c12db46afc6ad4ec359f9274df9551881219
This commit is contained in:
Markos Chandras 2017-04-20 16:25:35 +01:00
parent dce8cda19b
commit 15ed2ec42c
2 changed files with 11 additions and 10 deletions

View File

@ -39,17 +39,17 @@ openssl-devel [platform:rpm]
python-devel [platform:rpm]
# For SELinux
libselinux-python [platform:centos]
libsemanage-python [platform:centos]
libselinux-python [platform:redhat]
libsemanage-python [platform:redhat]
# For SSL SNI support
python-pyasn1 [platform:dpkg platform:suselinux]
python-openssl [platform:dpkg platform:suselinux]
python-pyasn1 [platform:dpkg platform:suse]
python-openssl [platform:dpkg platform:suse]
python-ndg-httpsclient [platform:ubuntu]
python2-pyasn1 [platform:centos]
python2-pyOpenSSL [platform:centos]
python-pyOpenSSL [platform:suselinux]
python-ndg_httpsclient [platform:centos]
python2-pyasn1 [platform:redhat]
python2-pyOpenSSL [platform:redhat]
python-pyOpenSSL [platform:suse]
python-ndg_httpsclient [platform:rpm]
# Required for compressing collected log files in CI
gzip

View File

@ -43,8 +43,9 @@ if ! which pip &>/dev/null; then
https://bootstrap.pypa.io/get-pip.py | sudo python2.7
fi
# Install bindep and tox
sudo pip install bindep tox
# Install bindep and tox. We need bindep>=2.4.0 because it contains the new
# redhat and suse profiles.
sudo pip install 'bindep>=2.4.0' tox
# CentOS 7 requires two additional packages:
# redhat-lsb-core - for bindep profile support