Skip to content
Snippets Groups Projects
Commit a9e95d09 authored by Pavel Vondruška's avatar Pavel Vondruška
Browse files

Change version and package name

parent b69b4e74
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ pip install python-swiftclient requests-kerberos ...@@ -9,7 +9,7 @@ pip install python-swiftclient requests-kerberos
curl https://github.com/openstack/python-swiftclient/commit/3e248bc679fa5ec6825d534c1afc9b2966e238f5.patch | patch -f -p1 -d /opt/swiftclient/lib/python2.7/site-packages/ curl https://github.com/openstack/python-swiftclient/commit/3e248bc679fa5ec6825d534c1afc9b2966e238f5.patch | patch -f -p1 -d /opt/swiftclient/lib/python2.7/site-packages/
PIPVER=`pip list --format=legacy | grep -Po "python-swiftclient \(\K[\d\.]+"` PIPVER=`pip list --format=legacy | grep -Po "python-swiftclient \(\K[\d\.]+"`
VER="${PIPVER}-1+deb9+dex1_amd64" VER="${PIPVER}-1+deb9+dex1"
SIZE=`du -ks /opt/swiftclient | cut -f1` SIZE=`du -ks /opt/swiftclient | cut -f1`
WORKDIR=python-swiftclient-kerberos WORKDIR=python-swiftclient-kerberos
...@@ -71,7 +71,7 @@ EOSWIFT ...@@ -71,7 +71,7 @@ EOSWIFT
chmod +x $WORKDIR/usr/bin/swift chmod +x $WORKDIR/usr/bin/swift
dpkg-deb -b $WORKDIR python-swiftclient-kerberos_${VER}.deb dpkg-deb -b $WORKDIR python-swiftclient-kerberos_${VER}_amd64.deb
mkdir build mkdir build
mv *.deb build/ mv *.deb build/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment