Skip attempting python3-devel installation on CentOS 7

python3-devel package is not available on CentOS repositories and this
causes an unnecessary error to be logged to console while installing
zuul which might confuse users.

[centos@zuul zuul]$ sudo yum install $(bindep -b) -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.mirror.constant.com
 * epel: mirror.cs.princeton.edu
 * extras: mirror.cs.pitt.edu
 * ius: mirror.ehv.weppel.nl
 * updates: mirror.clarkson.edu
No package python3-devel available.
Error: Nothing to do

For CentOS 7, the proposed zuul-from-scratch document instructs users to
install python35u-devel package from ius-release repo.

https://review.openstack.org/#/c/564948/

Change-Id: I9df218b56c59df196eff6cbd5183884c39d1ab7b
This commit is contained in:
Fatih Degirmenci 2018-04-29 23:54:15 +02:00
parent 75f3478ed1
commit 8de7313675
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ openssl-devel [platform:rpm]
libffi-dev [platform:dpkg]
libffi-devel [platform:rpm]
python3-dev [platform:dpkg]
python3-devel [platform:rpm]
python3-devel [platform:rpm !platform:centos]
bubblewrap [platform:rpm]
redhat-rpm-config [platform:rpm]
libre2-dev [platform:dpkg]