Bump Java compiler source/target levels to 1.7

This commit is contained in:
Mikolaj Izdebski 2021-11-02 18:39:12 +01:00
parent 4d9016103a
commit e3d404256e

View File

@ -1,6 +1,6 @@
Name: xml-commons-apis
Version: 1.4.01
Release: 35%{?dist}
Release: 36%{?dist}
Summary: APIs for DOM, SAX, and JAXP
License: ASL 2.0 and W3C and Public Domain
URL: http://xml.apache.org/commons/
@ -59,7 +59,7 @@ sed -i '/distributionManagement/,/\/distributionManagement/ {d}' *.pom
%mvn_alias :xml-apis-ext xerces:dom3-xml-apis
%build
ant -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 jar javadoc
ant -Dant.build.javac.source=1.7 -Dant.build.javac.target=1.7 jar javadoc
# inject OSGi manifests
jar ufm build/xml-apis.jar %{SOURCE1}
@ -86,6 +86,9 @@ rm -rf build/docs/javadoc
%files javadoc -f .mfiles-javadoc
%changelog
* Tue Nov 02 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4.01-36
- Bump Java compiler source/target levels to 1.7
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.01-35
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild