Set compiler source and target to 1.8
This commit is contained in:
parent
d31565585c
commit
0c5eaaeb20
1 changed files with 8 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
Name: apache-commons-fileupload
|
||||
Version: 1.4
|
||||
Release: 9%{?dist}
|
||||
Release: 10%{?dist}
|
||||
Summary: API to work with HTML file upload
|
||||
License: ASL 2.0
|
||||
URL: http://commons.apache.org/fileupload/
|
||||
|
|
@ -49,6 +49,10 @@ sed -i "s|<groupId>portlet-api</groupId>|<groupId>javax.portlet</groupId>|" pom.
|
|||
rm -r src/main/java/org/apache/commons/fileupload/portlet
|
||||
%endif
|
||||
|
||||
# set compiler source and target
|
||||
%pom_xpath_set pom:maven.compiler.source 1.8
|
||||
%pom_xpath_set pom:maven.compiler.target 1.8
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
%mvn_file ":{*}" @1 %{name}
|
||||
|
|
@ -70,6 +74,9 @@ rm -r src/main/java/org/apache/commons/fileupload/portlet
|
|||
# -----------------------------------------------------------------------------
|
||||
|
||||
%changelog
|
||||
* Wed Feb 23 2022 Didik Supriadi <didiksupriadi41@fedoraproject.org> - 1.4-10
|
||||
- Set compiler source and target to 1.8
|
||||
|
||||
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1.4-9
|
||||
- Rebuilt for java-17-openjdk as system jdk
|
||||
|
||||
|
|
|
|||
Reference in a new issue