[neon/extras/kphotoalbum/Neon/release] debian: rules: use execute_before_dh_auto_build

Pino Toscano null at kde.org
Thu Sep 8 15:12:24 BST 2022


Git commit bb86c9b71ae9188898aa2070506c6c3964e1880a by Pino Toscano.
Committed on 27/05/2022 at 16:43.
Pushed by jriddell into branch 'Neon/release'.

rules: use execute_before_dh_auto_build

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

https://invent.kde.org/neon/extras/kphotoalbum/commit/bb86c9b71ae9188898aa2070506c6c3964e1880a

diff --git a/debian/changelog b/debian/changelog
index 628b846..d7fec7c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ kphotoalbum (5.8.1-3) UNRELEASED; urgency=medium
   * Rename docs to kphotoalbum.docs to make it clear to which package it refers.
   * Add a simple upstream/metadata file.
   * Remove the explicit as-needed linking, as it is done by binutils now.
+  * Use execute_before_dh_auto_build to avoid invoking dh_auto_build manually.
 
  -- Debian KDE Extras Team <pkg-kde-extras at lists.alioth.debian.org>  Fri, 27 May 2022 18:35:30 +0200
 
diff --git a/debian/rules b/debian/rules
index f6de779..8589d82 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,9 +3,8 @@
 %:
 	dh $@ --with kf5
 
-override_dh_auto_build:
+execute_before_dh_auto_build:
 	# force generation of version.h, to avoid races later on
 	dh_auto_build --no-parallel -- UpdateVersion
-	dh_auto_build
 
 .PHONY: override_dh_auto_test



More information about the Neon-commits mailing list