[neon/qt/qttools/Neon/testing] debian: Remove build path from .prl files for reproducibility.
Dmitry Shachnev
null at kde.org
Tue May 18 13:43:19 BST 2021
Git commit 733084a6bf7087b2bc4a98a6ec74e932d04b1206 by Dmitry Shachnev.
Committed on 23/11/2020 at 18:04.
Pushed by sitter into branch 'Neon/testing'.
Remove build path from .prl files for reproducibility.
M +1 -0 debian/changelog
M +4 -0 debian/rules
https://invent.kde.org/neon/qt/qttools/commit/733084a6bf7087b2bc4a98a6ec74e932d04b1206
diff --git a/debian/changelog b/debian/changelog
index 343c698..9080211 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ qttools-opensource-src (5.15.2-1) UNRELEASED; urgency=medium
* New upstream release.
* Bump Qt build-dependencies to 5.15.2.
* Minor debian/copyright update.
+ * Remove build path from .prl files for reproducibility.
-- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org> Sun, 22 Nov 2020 13:10:25 +0100
diff --git a/debian/rules b/debian/rules
index 864162c..f908055 100755
--- a/debian/rules
+++ b/debian/rules
@@ -40,6 +40,10 @@ endif
override_dh_auto_install-indep:
dh_auto_build -- 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
+
override_dh_install:
ifeq (,$(filter $(DEB_HOST_ARCH),$(qwebview_archs)))
grep -v qwebview debian/qttools5-dev-tools.install.in >> debian/qttools5-dev-tools.install
More information about the Neon-commits
mailing list