From: biao716.wang Date: Wed, 20 Jul 2022 09:53:22 +0000 (+0900) Subject: fix build error on Ubuntu22.04 X-Git-Tag: accepted/tools/devbase/tools/legacy/20240422.110843^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=af9e91bab8758c0b078c8dd7235ae49d7ad65621;p=services%2Fpython-requests.git fix build error on Ubuntu22.04 Change-Id: I2742a2e5e63c59ffa32f0681471bcdd643eaba04 Signed-off-by: biao716.wang --- diff --git a/debian/control b/debian/control index 6d3edfb..3ac717c 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: python-requests Section: devel Priority: extra Maintainer: Jian-feng Ding -Build-Depends: debhelper (>= 7.0.15), cdbs, python-dev, dh-python, python-docutils, python, python-setuptools +Build-Depends: debhelper (>= 7.0.15), cdbs, python-dev|python2-dev, dh-python, python-docutils, python|python2, python-setuptools Standards-Version: 2.4.4 Homepage: http://www.tizen.org diff --git a/debian/rules b/debian/rules index 0fa0995..c0d33f2 100755 --- a/debian/rules +++ b/debian/rules @@ -6,7 +6,7 @@ build: build-stamp build-stamp: dh_testdir - python setup.py build + python2 setup.py build clean: dh_testdir dh_testroot @@ -22,7 +22,7 @@ install: build # Installing package mkdir -p $(CURDIR)/debian/tmp - python setup.py install --prefix=/usr --root=$(CURDIR)/debian/tmp + python2 setup.py install --prefix=/usr --root=$(CURDIR)/debian/tmp binary-indep: build install dh_testdir dh_testroot