[Git][java-team/grpc-java][master] Optimize d/rules with newer syntax

Olek Wojnar (@olek) gitlab at salsa.debian.org
Wed Aug 23 00:14:50 BST 2023



Olek Wojnar pushed to branch master at Debian Java Maintainers / grpc-java


Commits:
eab134e4 by Olek Wojnar at 2023-08-22T19:05:59-04:00
Optimize d/rules with newer syntax

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+grpc-java (1.41.3+ds-2) unstable; urgency=high
+
+  * Update dh_link directive in d/rules to prevent FTBFS (Closes: #1045144)
+    - Thanks to Aurelien Jarno for the patch
+  * Optimize d/rules with newer syntax
+
+ -- Olek Wojnar <olek at debian.org>  Tue, 22 Aug 2023 19:05:13 -0400
+
 grpc-java (1.41.3+ds-1) unstable; urgency=medium
 
   * New upstream version (Closes: #1021633)


=====================================
debian/rules
=====================================
@@ -21,26 +21,21 @@ export https_proxy=127.0.0.1:9
 %:
 	dh $@ --buildsystem=gradle --with maven_repo_helper
 
-override_dh_auto_configure:
+execute_before_dh_auto_configure:
 	dh_auto_configure --buildsystem=autoconf
-	dh_auto_configure
 
-override_dh_auto_build:
+execute_before_dh_auto_build:
 	dh_auto_build --buildsystem=autoconf
-	dh_auto_build
 
-override_dh_auto_install:
+execute_before_dh_auto_install:
 	dh_auto_install --buildsystem=autoconf
-	dh_auto_install
 
-override_dh_installexamples:
-	dh_installexamples
+execute_after_dh_installexamples:
 	rm -f debian/libgrpc-java/usr/share/doc/libgrpc-java/examples/android/helloworld/.gitignore
 	rm -f debian/libgrpc-java/usr/share/doc/libgrpc-java/examples/android/routeguide/.gitignore
 	rm -f debian/libgrpc-java/usr/share/doc/libgrpc-java/examples/android/routeguide/app/.gitignore
 
 override_dh_auto_test:
 
-override_dh_link:
-	dh_link
+execute_after_dh_link-indep:
 	jdupes -rl debian/libgrpc-java/usr



View it on GitLab: https://salsa.debian.org/java-team/grpc-java/-/commit/eab134e4ee4d954af5e1d9993de45dba5a9b681a

-- 
View it on GitLab: https://salsa.debian.org/java-team/grpc-java/-/commit/eab134e4ee4d954af5e1d9993de45dba5a9b681a
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20230822/29cc2809/attachment.htm>


More information about the pkg-java-commits mailing list