From d5efa02eab566faea7daf3ef35ffb908a6c10cb8 Mon Sep 17 00:00:00 2001 From: Takuya ASADA Date: Wed, 13 Apr 2016 23:00:09 +0000 Subject: [PATCH] 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 --- dist/ubuntu/dep/build_dependency.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dist/ubuntu/dep/build_dependency.sh b/dist/ubuntu/dep/build_dependency.sh index c5f1734d6f..5f62ad1549 100755 --- a/dist/ubuntu/dep/build_dependency.sh +++ b/dist/ubuntu/dep/build_dependency.sh @@ -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 ../..