Set compiler source and target to fix FTBFS

This commit is contained in:
Mat Booth 2019-11-30 15:18:48 +00:00
commit d981c1da1d

View file

@ -3,7 +3,7 @@
Name: apache-%{short_name}
Version: 1.6
Release: 20%{?dist}
Release: 21%{?dist}
Summary: Apache Commons Pool Package
License: ASL 2.0
URL: http://commons.apache.org/%{base_name}/
@ -33,7 +33,7 @@ This package contains the API documentation for %{name}.
%mvn_file : %{short_name} %{name}
%build
%mvn_build -f -- -Dcommons.osgi.symbolicName=org.apache.commons.pool
%mvn_build -f -- -Dcommons.osgi.symbolicName=org.apache.commons.pool -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
%install
%mvn_install
@ -46,6 +46,9 @@ This package contains the API documentation for %{name}.
%license LICENSE.txt NOTICE.txt
%changelog
* Sat Nov 30 2019 Mat Booth <mat.booth@redhat.com> - 1.6-21
- Set compiler source and target to fix FTBFS
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild