From 8de7313675e0fb3756337448b6bb74efe0f8ca29 Mon Sep 17 00:00:00 2001 From: Fatih Degirmenci Date: Sun, 29 Apr 2018 23:54:15 +0200 Subject: [PATCH] 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 --- bindep.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindep.txt b/bindep.txt index 7f05d27764..d581918d9e 100644 --- a/bindep.txt +++ b/bindep.txt @@ -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]