Bump Java compiler source/target levels to 1.7

This commit is contained in:
Mikolaj Izdebski 2021-11-02 16:22:58 +01:00
parent ede9920526
commit 123e6511ef

View File

@ -3,7 +3,7 @@
Name: junit Name: junit
Epoch: 1 Epoch: 1
Version: 4.13.1 Version: 4.13.1
Release: 4%{?dist} Release: 5%{?dist}
Summary: Java regression test package Summary: Java regression test package
License: EPL-1.0 License: EPL-1.0
URL: http://www.junit.org/ URL: http://www.junit.org/
@ -87,7 +87,7 @@ sed s/@version@/%{version}/ src/main/java/junit/runner/Version.java.template >sr
%mvn_alias junit:junit junit:junit-dep %mvn_alias junit:junit junit:junit-dep
%build %build
%mvn_build -- -DjdkVersion=1.6 %mvn_build -- -DjdkVersion=1.7 -P\!restrict-doclint
%install %install
%mvn_install %mvn_install
@ -104,6 +104,9 @@ sed s/@version@/%{version}/ src/main/java/junit/runner/Version.java.template >sr
%doc doc/* %doc doc/*
%changelog %changelog
* Tue Nov 02 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:4.13.1-5
- Bump Java compiler source/target levels to 1.7
* Tue Sep 15 2021 Didik Supriadi <didiksupriadi41@gmail.com> - 1:4.13.1-4 * Tue Sep 15 2021 Didik Supriadi <didiksupriadi41@gmail.com> - 1:4.13.1-4
- Add alias for junit-dep - Add alias for junit-dep