From 01fedce7b60b5cd57899d398d047200d8ef13108 Mon Sep 17 00:00:00 2001 From: wanchao-xu Date: Fri, 12 Apr 2024 14:42:39 +0800 Subject: [PATCH] Replace depend python with python2, do not install python-is-python2 package. If install python package, it will install python-is-python2 on ubuntu20.04, and set python2 as default python interpeter. Change-Id: I4ed94178de6ba363f9d8299749b01eb0f879439f Signed-off-by: wanchao-xu --- Makefile | 2 +- debian/control | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 740b616..358f1c0 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ PKGNAME = yum VERSION=$(shell awk '/Version:/ { print $$2 }' ${PKGNAME}.spec) RELEASE=$(shell awk '/Release:/ { print $$2 }' ${PKGNAME}.spec) CVSTAG=yum-$(subst .,_,$(VERSION)-$(RELEASE)) -PYTHON=python +PYTHON=python2 WEBHOST = yum.baseurl.org WEB_DOC_PATH = /srv/projects/yum/web/download/docs/yum-api/ diff --git a/debian/control b/debian/control index 856b00e..9478d06 100755 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: admin Priority: extra Maintainer: Thomas Goirand Uploaders: Mike Miller -Build-Depends: debhelper (>= 9), python-all (>= 2.6.6-3~), python, python-dev +Build-Depends: debhelper (>= 9), python2, python2-dev Build-Depends-Indep: intltool Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/yum.git Vcs-Git: git://anonscm.debian.org/collab-maint/yum.git @@ -12,7 +12,7 @@ Homepage: http://yum.baseurl.org/ Package: yum Architecture: all -Depends: python (>= 2.5) | python-celementtree, +Depends: python2 (>= 2.5) | python-celementtree, python-libxml2, python-rpm, python-sqlite, -- 2.34.1