From 125e701b0161381e80dfa812942a725716c8255c Mon Sep 17 00:00:00 2001 From: Chao Liu Date: Fri, 25 Feb 2022 06:25:46 +0000 Subject: [PATCH] update jave source to 1.6 and 1.8 Signed-off-by: Chao Liu --- tzdata.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/tzdata.spec b/tzdata.spec index 19015a3..690f4d0 100644 --- a/tzdata.spec +++ b/tzdata.spec @@ -1,6 +1,6 @@ Name: tzdata Version: 2021e -Release: 1 +Release: 2 Summary: Timezone data License: Public Domain URL: https://www.iana.org/time-zones @@ -65,7 +65,7 @@ zic -y ./yearistype -d zoneinfo/posix -L /dev/null $FILES zic -y ./yearistype -d zoneinfo/right -L leapseconds $FILES 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} \ @@ -73,7 +73,7 @@ java -classpath javazic/ rht.tools.javazic.Main -V %{version} \ $FILES javazic/tzdata_jdk/gmt javazic/tzdata_jdk/jdk11_backward cd javazic-1.8 -javac -source 1.7 -target 1.7 -classpath . `find . -name \*.java` +javac -source 1.8 -target 1.8 -classpath . `find . -name \*.java` cd .. java -classpath javazic-1.8 build.tools.tzdb.TzdbZoneRulesCompiler \ @@ -107,6 +107,12 @@ install -p -m 644 tzdb.dat $RPM_BUILD_ROOT%{_datadir}/javazi-1.8/ %{_datadir}/javazi-1.8 %changelog +* Fri Feb 25 2022 liuchao -2021e-2 +- Type:feature +- CVE:NA +- SUG:NA +- DESC:update jave source to 1.6 and 1.8 + * Fri Oct 29 2021 liuchao - 2021e-1 - Type:bugfix - CVE:NA