fix build error on Ubuntu22.04 30/278430/1 accepted/tools/devbase/tools/legacy/20240422.110843 accepted/tools/devbase/tools/legacy/20240423.040721 accepted/tools/devbase/tools/legacy/20240424.050702
authorbiao716.wang <biao716.wang@samsung.com>
Wed, 20 Jul 2022 09:53:22 +0000 (18:53 +0900)
committerbiao716.wang <biao716.wang@samsung.com>
Wed, 20 Jul 2022 09:53:22 +0000 (18:53 +0900)
Change-Id: I2742a2e5e63c59ffa32f0681471bcdd643eaba04
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
debian/control
debian/rules

index 6d3edfbfc67005502fd0e5fca7903b598f245ef9..3ac717c7e2cd2648a70052da7329358c8623b9f8 100644 (file)
@@ -2,7 +2,7 @@ Source:  python-requests
 Section: devel
 Priority: extra
 Maintainer: Jian-feng Ding <jian-feng.ding@intel.com>
-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
 
index 0fa09956134c28bb54a7d89af449d1d20fee4045..c0d33f26f800c2ed9ef15a6a5c6a54c97bbc292a 100755 (executable)
@@ -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