[neon/qt/qtmultimedia/Neon/release] debian: Remove build path from .prl files for reproducibility.

Dmitry Shachnev null at kde.org
Fri Jul 15 11:52:26 BST 2022


Git commit 1e3cc18649f4ee6ff38b37f99b1a87c9e9dae5ac by Dmitry Shachnev.
Committed on 06/03/2022 at 15:37.
Pushed by jriddell into branch 'Neon/release'.

Remove build path from .prl files for reproducibility.

M  +1    -0    debian/changelog
M  +4    -0    debian/rules

https://invent.kde.org/neon/qt/qtmultimedia/commit/1e3cc18649f4ee6ff38b37f99b1a87c9e9dae5ac

diff --git a/debian/changelog b/debian/changelog
index 475918d..8724bef 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ qtmultimedia-opensource-src (5.15.3-1) UNRELEASED; urgency=medium
   * Update debian/watch.
   * Bump Qt build-dependencies to 5.15.3.
   * Bump Standards-Version to 4.6.0, no changes needed.
+  * Remove build path from .prl files for reproducibility.
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Sat, 05 Mar 2022 20:44:57 +0300
 
diff --git a/debian/rules b/debian/rules
index c139bb2..38f5a99 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,3 +28,7 @@ override_dh_auto_test-indep:
 
 override_dh_auto_install-indep:
 	make INSTALL_ROOT=$(CURDIR)/debian/tmp install_docs
+
+execute_after_dh_auto_install-arch:
+	# Reproducible builds: remove build path from the prl files.
+	sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' debian/tmp/usr/lib/${DEB_HOST_MULTIARCH}/libQt5*.prl



More information about the Neon-commits mailing list