[neon/qt/qtnetworkauth/Neon/testing] debian: Remove build path from libQt5NetworkAuth.prl for reproducibility.

Dmitry Shachnev null at kde.org
Tue May 18 14:23:03 BST 2021


Git commit 5943fb2f4ce13fed3be1998932f7ccb0fc117440 by Dmitry Shachnev.
Committed on 19/09/2020 at 17:39.
Pushed by sitter into branch 'Neon/testing'.

Remove build path from libQt5NetworkAuth.prl for reproducibility.

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

https://invent.kde.org/neon/qt/qtnetworkauth/commit/5943fb2f4ce13fed3be1998932f7ccb0fc117440

diff --git a/debian/changelog b/debian/changelog
index ff48e6d..9e7b6e9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,7 @@ qtnetworkauth-everywhere-src (5.15.1-1) UNRELEASED; urgency=medium
   * Use ${DEB_HOST_MULTIARCH} substitution in the install files.
   * Refresh disable_tests_network.diff.
   * Make sure private headers are not installed.
+  * Remove build path from libQt5NetworkAuth.prl for reproducibility.
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Tue, 15 Sep 2020 12:56:28 -0700
 
diff --git a/debian/rules b/debian/rules
index ab64b4b..71148cb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,8 @@ export CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS) $(shell dpkg-buildfla
 export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed
 export QT_SELECT := qt5
 
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
 %:
 	dh $@ --with pkgkde_symbolshelper
 
@@ -24,3 +26,9 @@ override_dh_auto_test-indep:
 
 override_dh_auto_install-indep:
 	$(MAKE) INSTALL_ROOT=$(CURDIR)/debian/tmp install_docs
+
+override_dh_auto_install-arch:
+	dh_auto_install
+
+	# Reproducible builds: remove build path from the prl file.
+	sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libQt5NetworkAuth.prl



More information about the Neon-commits mailing list