summaryrefslogtreecommitdiff
path: root/bindep.txt
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2017-12-20 07:14:03 +0100
committerAndreas Jaeger <aj@suse.com>2017-12-20 09:29:19 +0100
commitbdd4eb6936b0e25aff5357bde876309ee5b032ec (patch)
tree098ddc3b6351c348405ae4ce5e6069d938c93556 /bindep.txt
parentdc1c55c9a07c03fe85f4bcc52419a42d75ae30fa (diff)
downloadswift-bdd4eb6936b0e25aff5357bde876309ee5b032ec.tar.gz
Install liberasurecode-devel for CentOS 7
Since I747c2b8754effbc6ec82af3bf7543fd9599a6c14 we do not install the RDO package repository anymore and thus liberasurecode-devel cannot be installed. For CentOS 7, remove liberasurecode-devel from bindep.txt and install it from test-setup.sh instead after enabling the RDO package repositories. Update python dependencies: CentOS 7 does not have python3. Fix the SUSE tags. Change-Id: I72aa6b5455dfb025f54e83334983ac280f04afb2
Diffstat (limited to 'bindep.txt')
-rw-r--r--bindep.txt13
1 files changed, 10 insertions, 3 deletions
diff --git a/bindep.txt b/bindep.txt
index 80ce1bf91..1d65d3ff8 100644
--- a/bindep.txt
+++ b/bindep.txt
@@ -6,15 +6,22 @@ gcc [platform:rpm]
gettext [!platform:suse]
gettext-runtime [platform:suse]
liberasurecode-dev [platform:dpkg]
-liberasurecode-devel [platform:rpm]
+# There's no library in CentOS 7 but Fedora and openSUSE have it.
+liberasurecode-devel [platform:rpm !platform:centos]
libffi-dev [platform:dpkg]
libffi-devel [platform:rpm]
memcached
python-dev [platform:dpkg]
python-devel [platform:rpm]
python3-dev [platform:dpkg]
-python34-devel [platform:redhat]
-python3-devel [platfrom:suse]
+python3-devel [platform:fedora platform:suse]
+# python3-devel does not pull in the python3 package on openSUSE so
+# we need to be explicit. The python3 package contains the XML module
+# which is required by a python3 virtualenv. Similarly, in python2,
+# the XML module is located in python-xml which is not pulled in
+# by python-devel as well. See https://bugzilla.suse.com/show_bug.cgi?id=1046990
+python3 [platform:suse]
+python-xml [platform:suse]
rsync
xfsprogs
libssl-dev [platform:dpkg]