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
commit32871c0afc6266db02714d06b6b90825c944d5cf (patch)
tree3aa83dc985dbf96e0c20cfdf52a8a6293ac1f2e9 /src
parentAdding debian version 0.1.22.3. (diff)
downloaddebputy-32871c0afc6266db02714d06b6b90825c944d5cf.tar.xz
debputy-32871c0afc6266db02714d06b6b90825c944d5cf.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",