dist/ubuntu/dep: Drop python-support on Ubuntu 16.04

Ubuntu 16.04 seems dropped python-support, so remove it from thrift package.

Signed-off-by: Takuya ASADA <syuu@scylladb.com>
This commit is contained in:
Takuya ASADA
2016-04-13 23:00:09 +00:00
parent e733c2aae8
commit d5efa02eab

View File

@@ -41,6 +41,10 @@ if [ ! -f build/libthrift0_1.0.0-dev_amd64.deb ]; then
tar xpf thrift-0.9.1.tar.gz
cd thrift-0.9.1
patch -p0 < ../../dist/ubuntu/dep/thrift.diff
if [ "$RELEASE" = "16.04" ]; then
sed -i "s/, python-support//" debian/control
sed -i "s/dh_pysupport//" debian/rules
fi
echo Y | sudo mk-build-deps -i -r
debuild -r fakeroot --no-tgz-check -us -uc
cd ../..