From af9e91bab8758c0b078c8dd7235ae49d7ad65621 Mon Sep 17 00:00:00 2001 From: "biao716.wang" Date: Wed, 20 Jul 2022 18:53:22 +0900 Subject: [PATCH] fix build error on Ubuntu22.04 Change-Id: I2742a2e5e63c59ffa32f0681471bcdd643eaba04 Signed-off-by: biao716.wang --- debian/control | 2 +- debian/rules | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.34.1