diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/debputy/deb_packaging_support.py | 12 | ||||
-rw-r--r-- | src/debputy/dh_migration/migrators_impl.py | 1 |
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", |