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
commitb56abfbffee98ce94e43d5fbeb57792dfbd83eac (patch)
tree25a67233ee2884394184d51fba0a90f689063312 /src
parentAdding upstream version 0.1.22.3. (diff)
downloaddebputy-b56abfbffee98ce94e43d5fbeb57792dfbd83eac.tar.xz
debputy-b56abfbffee98ce94e43d5fbeb57792dfbd83eac.zip
Adding upstream version 0.1.23.upstream/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",