From 6534fc6a59efd158496c68f047d600cdc5395508 Mon Sep 17 00:00:00 2001 From: xuhy Date: Mon, 24 Jun 2024 09:45:09 +0800 Subject: [PATCH] Remove dpatch dependency and add python3 dependency dpatch/python/python2 are not available on ubuntu 24.04. Change-Id: If3dadc2859e44ffa77c54f0ba03233ba65a902fe --- debian/compat | 2 +- debian/control | 2 +- debian/rules | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) 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 -- 2.7.4