[Git][java-team/mina][master] 2 commits: Use java_compat_level variable provided by java-common to adjust...

Tony Mancill (@tmancill) gitlab at salsa.debian.org
Sat Nov 25 17:45:35 GMT 2023



Tony Mancill pushed to branch master at Debian Java Maintainers / mina


Commits:
3e624a11 by Vladimir Petko at 2023-11-24T14:24:10+13:00
Use java_compat_level variable provided by java-common to adjust -source/-target level to the minimum required by the default Java.

- - - - -
e4fd306f by Vladimir Petko at 2023-11-24T14:36:12+13:00
changelog

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,9 +1,15 @@
 mina (1.1.7.dfsg-14) UNRELEASED; urgency=medium
 
+  [ Debian Janitor ]
   * Remove constraints unnecessary since buster (oldstable):
     + Build-Depends: Drop versioned constraint on javahelper.
 
- -- Debian Janitor <janitor at jelmer.uk>  Sun, 20 Nov 2022 01:16:51 -0000
+  [ Vladimir Petko ]
+  * d/rules: use java_compat_level variable provided by java-common to
+    adjust -source/-target level to the minimum required by the default
+    Java (Closes: #1053062).
+
+ -- Vladimir Petko <vladimir.petko at canonical.com>  Fri, 24 Nov 2023 14:35:38 +1300
 
 mina (1.1.7.dfsg-13) unstable; urgency=medium
 


=====================================
debian/rules
=====================================
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+include /usr/share/java/java_defaults.mk
+
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
@@ -11,7 +13,7 @@ JAVA_HOME := /usr/lib/jvm/default-java
 export JAVA_HOME
 
 # Force compilation of 1.7 .class format
-JAVA_OPTS := -source 1.7 -target 1.7
+JAVA_OPTS := -source $(java_compat_level) -target $(java_compat_level)
 
 CORE_JAR  := $(PACKAGE)-core.jar
 CORE_SRC  := core/src/main/java/



View it on GitLab: https://salsa.debian.org/java-team/mina/-/compare/a95f0c5494c459de1e4c30221777f5d045569970...e4fd306fa1d3c87d7b98eb9df39d9290419703f9

-- 
View it on GitLab: https://salsa.debian.org/java-team/mina/-/compare/a95f0c5494c459de1e4c30221777f5d045569970...e4fd306fa1d3c87d7b98eb9df39d9290419703f9
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/20231125/2da89762/attachment.htm>


More information about the pkg-java-commits mailing list