Explicitly specify JVM target version

Resolves: RHEL-68776
This commit is contained in:
Marian Koncek 2022-08-05 15:43:16 +02:00 committed by Mikolaj Izdebski
parent f029ae5c87
commit a3bc2da5f4

View File

@ -1,6 +1,6 @@
Name: bsf
Version: 2.4.0
Release: 47%{?dist}
Release: 48%{?dist}
Summary: Bean Scripting Framework
License: ASL 2.0
URL: http://commons.apache.org/bsf/
@ -56,7 +56,7 @@ find -name \*.jar -delete
%build
export CLASSPATH=$(build-classpath apache-commons-logging xalan-j2)
ant -Dsource.level=1.6 jar
ant -Dsource.level=1.6 -Dant.build.javac.target=1.6 jar
%mvn_artifact %{SOURCE1} build/lib/%{name}.jar
@ -68,6 +68,9 @@ ant -Dsource.level=1.6 jar
%doc AUTHORS.txt CHANGES.txt README.txt TODO.txt RELEASE-NOTE.txt
%changelog
* Wed Dec 04 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.4.0-48
- Explicitly specify JVM target version
* Sat Nov 23 2024 Marián Konček <mkoncek@redhat.com> - 2.4.0-47
- Add noarch to ExclusiveArch