[packages/tzdata] bump java target version to 1.7

atler atler at pld-linux.org
Fri Mar 24 14:40:56 CET 2023


commit 7a0a3cc20925e692560d0c95ac920766900e03cb
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri Mar 24 14:35:41 2023 +0100

    bump java target version to 1.7
    
    jdk >= 12 dropped support for target 1.6

 tzdata.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tzdata.spec b/tzdata.spec
index dfb6ab9..02ba874 100644
--- a/tzdata.spec
+++ b/tzdata.spec
@@ -151,7 +151,7 @@ cd -
 
 %if %{with java}
 cd javazic
-%javac -source 1.6 -target 1.6 -classpath . $(find -name '*.java')
+%javac -source 1.7 -target 1.7 -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/7a0a3cc20925e692560d0c95ac920766900e03cb



More information about the pld-cvs-commit mailing list