Don't use -source 1.6 and -target 1.6 with javac. (RHEL-70308)

Resolves: RHEL-70308
This commit is contained in:
Patsy Griffin 2024-12-09 08:02:46 -05:00
parent c2044300b0
commit 92d00683ae

View File

@ -3,7 +3,7 @@ Name: tzdata
Version: 2024b Version: 2024b
%define tzdata_version 2024b %define tzdata_version 2024b
%define tzcode_version 2024b %define tzcode_version 2024b
Release: 2%{?dist} Release: 3%{?dist}
License: Public Domain License: Public Domain
URL: https://www.iana.org/time-zones URL: https://www.iana.org/time-zones
Source0: ftp://ftp.iana.org/tz/releases/tzdata%{tzdata_version}.tar.gz Source0: ftp://ftp.iana.org/tz/releases/tzdata%{tzdata_version}.tar.gz
@ -122,7 +122,7 @@ JAVA_FILES="rearguard/africa rearguard/antarctica rearguard/asia \
# Java 6/7 tzdata # Java 6/7 tzdata
pushd javazic pushd javazic
javac -source 1.6 -target 1.6 -classpath . `find . -name \*.java` javac -classpath . `find . -name \*.java`
popd popd
java -classpath javazic/ rht.tools.javazic.Main -V %{version} \ java -classpath javazic/ rht.tools.javazic.Main -V %{version} \
@ -180,6 +180,9 @@ echo ============END TESTING===========
%{_datadir}/javazi-1.8 %{_datadir}/javazi-1.8
%changelog %changelog
* Fri Dec 06 2024 Patsy Griffin <patsy@redhat.com> - 2024b-3
- Don't use -source 1.6 and -target 1.6 with javac. (RHEL-70308)
* Fri Sep 27 2024 Patsy Griffin <patsy@redhat.com> - 2024b-2 * Fri Sep 27 2024 Patsy Griffin <patsy@redhat.com> - 2024b-2
- Harden against links to removed zones (RHEL-60063) - Harden against links to removed zones (RHEL-60063)