set javac -source and -target to 1.8

This commit is contained in:
Fabio Valentini 2020-05-22 23:13:20 +02:00
parent e52de4aa44
commit c13c6da00d
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

View File

@ -1,6 +1,6 @@
Name: apache-commons-jxpath
Version: 1.3
Release: 34%{?dist}
Release: 35%{?dist}
Summary: Simple XPath interpreter
License: ASL 2.0
URL: http://commons.apache.org/jxpath/
@ -15,9 +15,7 @@ BuildRequires: mvn(commons-beanutils:commons-beanutils)
BuildRequires: mvn(javax.servlet:jsp-api)
BuildRequires: mvn(javax.servlet:servlet-api)
BuildRequires: mvn(jdom:jdom)
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
BuildRequires: mvn(xerces:xercesImpl)
BuildRequires: mvn(xml-apis:xml-apis)
@ -44,7 +42,7 @@ This package contains the API documentation for %{name}.
%build
# we are skipping tests because we don't have com.mockrunner in repos yet
%mvn_build -f -- -Dcommons.osgi.symbolicName=org.apache.commons.jxpath
%mvn_build -f -- -Dcommons.osgi.symbolicName=org.apache.commons.jxpath -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
%install
%mvn_install
@ -56,6 +54,9 @@ This package contains the API documentation for %{name}.
%license LICENSE.txt NOTICE.txt
%changelog
* Fri May 22 2020 Fabio Valentini <decathorpe@gmail.com> - 1.3-35
- Set javac -source and -target to 1.8.
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild