summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Palus2021-10-25 23:17:58 (GMT)
committerJan Palus2021-10-25 23:17:58 (GMT)
commit446a8df925ea88308bfeabfe9b828a124e5201dd (patch)
tree7babcb207f89d1eff4a384f06991f1613da04075
parentaf97ec111a25327fa18b76bc68748cbab5945195 (diff)
downloadtzdata-446a8df925ea88308bfeabfe9b828a124e5201dd.zip
tzdata-446a8df925ea88308bfeabfe9b828a124e5201dd.tar.gz
bump java target to 1.6auto/th/tzdata-2021e-1
so it's possible to compile with openjdk11
-rw-r--r--tzdata.spec2
1 files changed, 1 insertions, 1 deletions
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} \