Bump Java compiler source/target levels to 1.7

This commit is contained in:
Mikolaj Izdebski 2021-11-02 15:57:38 +01:00
parent bf9ec2d136
commit 94abfedfb6

View File

@ -2,7 +2,7 @@
Name: apache-commons-jxpath
Version: 1.3
Release: 40%{?dist}
Release: 41%{?dist}
Summary: Simple XPath interpreter
License: ASL 2.0
URL: http://commons.apache.org/jxpath/
@ -55,7 +55,7 @@ rm src/test/org/apache/commons/jxpath/servlet/JXPathServletContextTest.java
%build
# we are skipping tests because we don't have com.mockrunner in repos yet
%mvn_build -f -- -Dmaven.compiler.source=1.6 -Dmaven.compiler.target=1.6 -Dcommons.osgi.symbolicName=org.apache.commons.jxpath
%mvn_build -f -- -Dmaven.compiler.source=1.7 -Dmaven.compiler.target=1.7 -Dcommons.osgi.symbolicName=org.apache.commons.jxpath
%install
%mvn_install
@ -67,6 +67,9 @@ rm src/test/org/apache/commons/jxpath/servlet/JXPathServletContextTest.java
%license LICENSE.txt NOTICE.txt
%changelog
* Tue Nov 02 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3-41
- Bump Java compiler source/target levels to 1.7
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild