From: wanchao-xu Date: Fri, 12 Apr 2024 05:44:26 +0000 (+0800) Subject: Replace 'python-dev' with 'python2-dev', do not install python-is-python2. X-Git-Tag: accepted/tools/devbase/tools/legacy/20250527.042551^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ab18d75e55c511c1189afa81dcbf5deb2173b303;p=tools%2Fpython-urlgrabber.git Replace 'python-dev' with 'python2-dev', do not install python-is-python2. If install 'python-dev' package, it will install 'python-is-python2' on ubuntu20.04, and set python2 as default python interpeter. Change-Id: Ied7b154c59ff2f0fdc98364a57fd65db117e6950 Signed-off-by: wanchao-xu --- diff --git a/debian/control b/debian/control index a365ee5..295cab5 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: python-urlgrabber Section: devel Priority: extra Maintainer: Jong-Woo Chae -Build-Depends: debhelper (>= 7.0.15), python-dev, python-pycurl +Build-Depends: debhelper (>= 7.0.15), python2-dev, python-pycurl Standards-Version: 3.9.1 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