From: xuhy Date: Mon, 24 Jun 2024 01:45:09 +0000 (+0800) Subject: Remove dpatch dependency and add python3 dependency X-Git-Tag: accepted/tools/devbase/tools/20250527.103736^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=HEAD;p=tools%2Fdeltarpm.git Remove dpatch dependency and add python3 dependency dpatch/python/python2 are not available on ubuntu 24.04. Change-Id: If3dadc2859e44ffa77c54f0ba03233ba65a902fe --- diff --git a/debian/compat b/debian/compat index 7f8f011..f599e28 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -7 +10 diff --git a/debian/control b/debian/control index 2ef54ee..e3adfd4 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: deltarpm Section: admin Priority: optional Maintainer: Gui Chen -Build-Depends: debhelper (>= 4.0.0), dpatch, cdbs, python | python2, python-dev | python2-dev, dh-python, libbz2-dev, librpm-dev, liblzma-dev +Build-Depends: debhelper (>= 4.0.0), cdbs, python3, python3-dev, dh-python, libbz2-dev, librpm-dev, liblzma-dev Standards-Version: 3.7.3 Homepage: ftp://ftp.suse.com/pub/projects/deltarpm diff --git a/debian/rules b/debian/rules index 8cb162a..591fe49 100755 --- a/debian/rules +++ b/debian/rules @@ -4,7 +4,6 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -include /usr/share/dpatch/dpatch.make unexport LDFLAGS build: @@ -36,7 +35,7 @@ binary-arch: build install dh_installdocs dh_install dh_installman - dh_python2 + dh_python3 dh_link dh_compress dh_fixperms