Set explicit Java compiler source/target levels to 1.7

This commit is contained in:
Mikolaj Izdebski 2021-11-02 18:40:32 +01:00
parent 1f59ec514d
commit 2e69ce7ff7

View File

@ -3,7 +3,7 @@
Name: apache-%{short_name} Name: apache-%{short_name}
Version: 3.6 Version: 3.6
Release: 13%{?dist} Release: 14%{?dist}
Summary: Internet protocol suite Java library Summary: Internet protocol suite Java library
License: ASL 2.0 License: ASL 2.0
URL: http://commons.apache.org/%{base_name}/ URL: http://commons.apache.org/%{base_name}/
@ -43,7 +43,7 @@ rm src/test/java/org/apache/commons/net/tftp/TFTPServerPathTest.java
%mvn_alias : org.apache.commons:%{short_name} %mvn_alias : org.apache.commons:%{short_name}
%build %build
%mvn_build -- -Dcommons.osgi.symbolicName=org.apache.commons.net %mvn_build -- -Dmaven.compiler.source=1.7 -Dmaven.compiler.target=1.7 -Dcommons.osgi.symbolicName=org.apache.commons.net
%install %install
%mvn_install %mvn_install
@ -56,6 +56,9 @@ rm src/test/java/org/apache/commons/net/tftp/TFTPServerPathTest.java
%license LICENSE.txt NOTICE.txt %license LICENSE.txt NOTICE.txt
%changelog %changelog
* Tue Nov 02 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.6-14
- Set explicit Java compiler source/target levels to 1.7
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-13 * Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild