summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 20:15:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 20:15:00 +0000
commit4e795c0390c14f0a275a3f5fd340c41baa963fe2 (patch)
treede181f88e9ffe40e437a2ecb114ec738dec8447f /src
parentReleasing progress-linux version 0.1.22.3-0.0~progress7.99u1. (diff)
downloaddebputy-4e795c0390c14f0a275a3f5fd340c41baa963fe2.tar.xz
debputy-4e795c0390c14f0a275a3f5fd340c41baa963fe2.zip
Merging upstream version 0.1.23.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src')
-rw-r--r--src/debputy/deb_packaging_support.py12
-rw-r--r--src/debputy/dh_migration/migrators_impl.py1
2 files changed, 13 insertions, 0 deletions
diff --git a/src/debputy/deb_packaging_support.py b/src/debputy/deb_packaging_support.py
index 79f5a38..bb5979a 100644
--- a/src/debputy/deb_packaging_support.py
+++ b/src/debputy/deb_packaging_support.py
@@ -1010,6 +1010,18 @@ def setup_control_files(
f" the manifest or file a bug if it is caused by a built-in rule."
)
+ shlibdeps_definition = [
+ d
+ for d in metadata_maintscript_detectors["debputy"]
+ if d.detector_id == "dpkg-shlibdeps"
+ ][0]
+
+ ctrl = binary_package_data.ctrl_creator.for_plugin(
+ shlibdeps_definition.plugin_metadata,
+ shlibdeps_definition.detector_id,
+ )
+ shlibdeps_definition.run_detector(fs_root, ctrl, package_metadata_context)
+
dh_staging_dir = os.path.join("debian", binary_package.name, "DEBIAN")
try:
with os.scandir(dh_staging_dir) as it:
diff --git a/src/debputy/dh_migration/migrators_impl.py b/src/debputy/dh_migration/migrators_impl.py
index 7856d27..cb05e50 100644
--- a/src/debputy/dh_migration/migrators_impl.py
+++ b/src/debputy/dh_migration/migrators_impl.py
@@ -64,6 +64,7 @@ DH_COMMANDS_REPLACED = {
MIGRATION_TARGET_DH_DEBPUTY_RRR: frozenset(
{
"dh_fixperms",
+ "dh_shlibdeps",
"dh_gencontrol",
"dh_md5sums",
"dh_builddeb",