8104: Pin the pycurl backport version.
[arvados-dev.git] / jenkins / test-packages-centos6.sh
1 #!/bin/bash
2
3 yum -q clean all
4 touch /var/lib/rpm/*
5 if ! yum -q install --assumeyes \
6      python27-python-arvados-python-client python27-python-arvados-fuse arvados-node-manager
7 then
8     exit 1
9 fi
10
11 mkdir -p /tmp/opts
12 cd /tmp/opts
13
14 for r in /arvados/packages/centos6/python27-python-*x86_64.rpm ; do
15     rpm2cpio $r | cpio -idm
16 done
17
18 for so in $(find -name "*.so") ; do
19     echo
20     echo "== Packages dependencies for $so =="
21     scl enable python27 "ldd $so" \
22         | awk '($3 ~ /^\//){print $3}' | sort -u | xargs rpm -qf | sort -u
23 done
24
25 exec scl enable python27 /jenkins/common-test-packages.sh