[packages/tzdata] bump java target to 1.6

atler atler at pld-linux.org
Tue Oct 26 01:20:43 CEST 2021


commit 446a8df925ea88308bfeabfe9b828a124e5201dd
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Oct 26 01:17:58 2021 +0200

    bump java target to 1.6
    
    so it's possible to compile with openjdk11

 tzdata.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tzdata.spec b/tzdata.spec
index 58443e1..5360ca7 100644
--- a/tzdata.spec
+++ b/tzdata.spec
@@ -147,7 +147,7 @@ cd -
 
 %if %{with java}
 cd javazic
-%javac -source 1.5 -target 1.5 -classpath . $(find -name '*.java')
+%javac -source 1.6 -target 1.6 -classpath . $(find -name '*.java')
 cd ..
 
 %java -classpath javazic/ rht.tools.javazic.Main -V %{version} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tzdata.git/commitdiff/446a8df925ea88308bfeabfe9b828a124e5201dd



More information about the pld-cvs-commit mailing list