Set compiler source and target to fix FTBFS
This commit is contained in:
parent
273cebe2cc
commit
1053e93251
1 changed files with 5 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
Name: apache-%{short_name}
|
||||
Version: 1.4
|
||||
Release: 27%{?dist}
|
||||
Release: 28%{?dist}
|
||||
Summary: Apache Commons DataBase Pooling Package
|
||||
License: ASL 2.0
|
||||
URL: http://commons.apache.org/%{base_name}/
|
||||
|
|
@ -51,7 +51,7 @@ iconv -f iso8859-1 -t utf-8 RELEASE-NOTES.txt > RELEASE-NOTES.txt.conv && mv -f
|
|||
|
||||
%build
|
||||
# Skip tests, tomcat:naming-java and tomcat:naming-common not available
|
||||
%mvn_build -f -- -Dcommons.osgi.symbolicName=org.apache.commons.dbcp
|
||||
%mvn_build -f -- -Dcommons.osgi.symbolicName=org.apache.commons.dbcp -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
|
@ -64,6 +64,9 @@ iconv -f iso8859-1 -t utf-8 RELEASE-NOTES.txt > RELEASE-NOTES.txt.conv && mv -f
|
|||
%license LICENSE.txt NOTICE.txt
|
||||
|
||||
%changelog
|
||||
* Sat Nov 30 2019 Mat Booth <mat.booth@redhat.com> - 1.4-28
|
||||
- Set compiler source and target to fix FTBFS
|
||||
|
||||
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-27
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Reference in a new issue