Bump Java compiler source/target levels to 1.7

This commit is contained in:
Mikolaj Izdebski 2021-11-02 16:22:34 +01:00
parent 186d8c0ed0
commit b642155914

View File

@ -2,7 +2,7 @@
Name: jdom2
Version: 2.0.6
Release: 24%{?dist}
Release: 25%{?dist}
Summary: Java manipulation of XML made easy
License: Saxpath
URL: http://www.jdom.org/
@ -73,7 +73,7 @@ sed -i '/import org.jdom2.xpath.XPathFactory/d' core/src/java/org/jdom2/JDOMCons
%build
mkdir lib
%ant -Dversion=%{version} -Dcompile.source=1.6 -Dcompile.target=1.6 -Dj2se.apidoc=%{_javadocdir}/java maven
%ant -Dversion=%{version} -Dcompile.source=1.7 -Dcompile.target=1.7 -Dj2se.apidoc=%{_javadocdir}/java maven
# Make jar into an OSGi bundle
# XXX disabled until BND is fixed
@ -93,6 +93,9 @@ mkdir lib
%license LICENSE.txt
%changelog
* Tue Nov 02 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.0.6-25
- Bump Java compiler source/target levels to 1.7
* Thu Oct 14 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.0.6-24
- Add patches to address DoS security vulnerability
- Resolves: CVE-2021-33813