Explicitly specify JVM target version
This commit is contained in:
parent
a0efa7b17e
commit
7b20c87d52
7
bsf.spec
7
bsf.spec
|
@ -1,6 +1,6 @@
|
|||
Name: bsf
|
||||
Version: 2.4.0
|
||||
Release: 45%{?dist}
|
||||
Release: 46%{?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.7 jar
|
||||
ant -Dsource.level=1.7 -Dant.build.javac.target=1.7 jar
|
||||
|
||||
%mvn_artifact %{SOURCE1} build/lib/%{name}.jar
|
||||
|
||||
|
@ -68,6 +68,9 @@ ant -Dsource.level=1.7 jar
|
|||
%doc AUTHORS.txt CHANGES.txt README.txt TODO.txt RELEASE-NOTE.txt
|
||||
|
||||
%changelog
|
||||
* Fri Aug 05 2022 Marian Koncek <mkoncek@redhat.com> - 2.4.0-46
|
||||
- Explicitly specify JVM target version
|
||||
|
||||
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-45
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue