From ab18d75e55c511c1189afa81dcbf5deb2173b303 Mon Sep 17 00:00:00 2001 From: wanchao-xu Date: Fri, 12 Apr 2024 13:44:26 +0800 Subject: [PATCH] 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 --- debian/control | 2 +- debian/rules | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.34.1