Bump Java compiler source/target levels to 1.7
This commit is contained in:
parent
62a5282d06
commit
31319d0025
@ -2,7 +2,7 @@
|
||||
|
||||
Name: apache-commons-logging
|
||||
Version: 1.2
|
||||
Release: 27%{?dist}
|
||||
Release: 28%{?dist}
|
||||
Summary: Apache Commons Logging
|
||||
License: ASL 2.0
|
||||
URL: http://commons.apache.org/logging
|
||||
@ -68,7 +68,7 @@ sed -i 's/\r//' RELEASE-NOTES.txt LICENSE.txt NOTICE.txt
|
||||
rm -rf src/test/java/org/apache/commons/logging/log4j/log4j12
|
||||
|
||||
%build
|
||||
%mvn_build -- -Dmaven.compiler.source=1.6 -Dmaven.compiler.target=1.6 -Dcommons.osgi.symbolicName=org.apache.commons.logging
|
||||
%mvn_build -- -Dmaven.compiler.source=1.7 -Dmaven.compiler.target=1.7 -Dcommons.osgi.symbolicName=org.apache.commons.logging
|
||||
|
||||
# The build produces more artifacts from one pom
|
||||
%mvn_artifact %{SOURCE2} target/commons-logging-%{version}-api.jar
|
||||
@ -82,6 +82,9 @@ rm -rf src/test/java/org/apache/commons/logging/log4j/log4j12
|
||||
%doc PROPOSAL.html RELEASE-NOTES.txt
|
||||
|
||||
%changelog
|
||||
* Tue Nov 02 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2-28
|
||||
- Bump Java compiler source/target levels to 1.7
|
||||
|
||||
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-27
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user