From e4393e574cadb0f19feec513d7aceac4a3f60021 Mon Sep 17 00:00:00 2001 From: Matthew Vernon Date: Wed, 20 Sep 2023 16:37:17 +0100 Subject: [PATCH] debian: call dh_python3 for ceph-{base,common,fuse,volume} In the cases of ceph-base, ceph-common, and ceph-fuse, this picks up that these packages contain python scripts and adds a necessary python3 dependency. In the case of ceph-volume it additionally parses the requirements.txt file. Signed-off-by: Matthew Vernon --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/rules b/debian/rules index fd025b7c917..ed7f4a255ed 100755 --- a/debian/rules +++ b/debian/rules @@ -140,6 +140,10 @@ override_dh_python3: @for pkg in $(py3_packages); do \ dh_python3 -p $$pkg; \ done + dh_python3 -p ceph-base --shebang=/usr/bin/python3 + dh_python3 -p ceph-common --shebang=/usr/bin/python3 + dh_python3 -p ceph-fuse --shebang=/usr/bin/python3 + dh_python3 -p ceph-volume --shebang=/usr/bin/python3 # do not run tests override_dh_auto_test: -- 2.39.5