From 32871c0afc6266db02714d06b6b90825c944d5cf Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 14 Apr 2024 22:15:00 +0200 Subject: Merging upstream version 0.1.23. Signed-off-by: Daniel Baumann --- src/debputy/deb_packaging_support.py | 12 ++++++++++++ src/debputy/dh_migration/migrators_impl.py | 1 + 2 files changed, 13 insertions(+) (limited to 'src') 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", -- cgit v1.2.3