[Git][java-team/fastdoubleparser][master] Removed the sed workarounds for the ${revision} version of the POMs

Emmanuel Bourg (@ebourg) gitlab at salsa.debian.org
Mon Nov 9 01:32:34 GMT 2026



Emmanuel Bourg pushed to branch master at Debian Java Maintainers / fastdoubleparser


Commits:
f557c329 by Emmanuel Bourg at 2026-11-09T02:29:04+01:00
Removed the sed workarounds for the ${revision} version of the POMs

- - - - -


3 changed files:

- debian/changelog
- debian/control
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+fastdoubleparser (2.0.1-5) unstable; urgency=medium
+
+  * Team upload.
+  * Removed the sed workarounds for the ${revision} version of the POMs
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Mon, 09 Nov 2026 01:54:12 +0100
+
 fastdoubleparser (2.0.1-4) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/control
=====================================
@@ -5,7 +5,7 @@ Uploaders: Julien Plissonneau Duquène <sre4ever at free.fr>
 Build-Depends:
  debhelper-compat (= 13),
  default-jdk,
- maven-debian-helper
+ maven-debian-helper (>= 2.8.4)
 Build-Depends-Indep:
  libbuild-helper-maven-plugin-java,
  libmaven-antrun-plugin-java,


=====================================
debian/rules
=====================================
@@ -6,23 +6,6 @@ include /usr/share/java/java_defaults.mk
 %:
 	dh $@
 
-execute_after_dh_auto_configure:
-	# Maven fails if the module version has ${revision} and the parent POM
-	# has an actual version number instead of "${revision}"; misfeature?
-	sed -i -e '/<version>.*<\/version>/ { s/>[^<]\+</>$${revision}</ ; ta } ; p ; d ; :a { n ; s/.*\n// ; ba }' \
-		pom.xml
-
-override_dh_auto_install:
-	# And now Maven fails even with both module and parent in sync
-	sed -i -e '/<version>.*<\/version>/ { s/>[^<]\+</>$(DEB_VERSION_UPSTREAM)</ ; ta } ; p ; d ; :a { n ; s/.*\n// ; ba }' \
-		pom.xml
-	sed -i -e '/<version>.*<\/version>/ { s/>[^<]\+</>$(DEB_VERSION_UPSTREAM)</ ; ta } ; p ; d ; :a { n ; /<version>.*<\/version>/ { s/>[^<]\+</>$(DEB_VERSION_UPSTREAM)</ ; tb } ; s/.*\n// ; ba } ; :b { n ; s/.*\n// ; bb }' \
-		fastdoubleparser-java8/pom.xml \
-	        fastdoubleparser-java11/pom.xml \
-		fastdoubleparser-java17/pom.xml \
-	        fastdoubleparser-java21/pom.xml \
-		fastdoubleparser/pom.xml
-	dh_auto_install
-
+execute_after_dh_auto_install:
 	# could not figure out how to build these but not install them
 	find debian/libfastdoubleparser-java/ -regex '.*/fastdoubleparser-java[0-9].*' -delete



View it on GitLab: https://salsa.debian.org/java-team/fastdoubleparser/-/commit/f557c32955b44bd7892a1f360fe8898f44ccb2db

-- 
View it on GitLab: https://salsa.debian.org/java-team/fastdoubleparser/-/commit/f557c32955b44bd7892a1f360fe8898f44ccb2db
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


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


More information about the pkg-java-commits mailing list