8 rpm -qa | sort > /arvados/packages/centos6/$1.before
10 yum install --assumeyes $1
12 rpm -qa | sort > /arvados/packages/centos6/$1.after
15 diff /arvados/packages/centos6/$1.before /arvados/packages/centos6/$1.after > /arvados/packages/centos6/$1.diff
19 if scl enable python27 true 2>/dev/null ; then
20 SCL="scl enable python27"
26 rpm2cpio /arvados/packages/centos6/$1-*.rpm | cpio -idm 2>/dev/null
28 shared=$(find -name '*.so')
29 if test -n "$shared" ; then
30 for so in $shared ; do
32 echo "== Packages dependencies for $so =="
34 | awk '($3 ~ /^\//){print $3}' | sort -u | xargs rpm -qf | sort -u
38 if test -n "$SCL" ; then
39 exec $SCL "/jenkins/common-test-packages.sh $1"
41 exec /jenkins/common-test-packages.sh $1