Set explicit Java compiler source/target levels to 1.7

This commit is contained in:
Mikolaj Izdebski 2021-11-02 18:42:42 +01:00
parent 8a700feca2
commit 6f3113977b

View File

@ -1,6 +1,6 @@
Name: jsch
Version: 0.1.55
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Pure Java implementation of SSH2
License: BSD
URL: http://www.jcraft.com/jsch/
@ -43,7 +43,7 @@ Summary: Javadoc for %{name}
%pom_xpath_set pom:project/pom:version %{version}
%build
%mvn_build
%mvn_build -- -Dmaven.compiler.source=1.7 -Dmaven.compiler.target=1.7
# inject the OSGi Manifest
mkdir META-INF
@ -64,6 +64,9 @@ zip target/%{name}-%{version}.jar plugin.properties
%license LICENSE.txt
%changelog
* Tue Nov 02 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.1.55-5
- Set explicit Java compiler source/target levels to 1.7
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.55-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild