Set explicit Java compiler source/target levels to 1.7
This commit is contained in:
parent
2073f6f054
commit
85e8f559f7
@ -4,7 +4,7 @@
|
||||
|
||||
Name: qdox
|
||||
Version: 2.0.0
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
Summary: Extract class/interface/method definitions from sources
|
||||
License: ASL 2.0
|
||||
URL: https://github.com/paul-hammant/qdox
|
||||
@ -72,7 +72,7 @@ jflex -d src/main/java/com/thoughtworks/qdox/parser/impl src/grammar/commentlexe
|
||||
)
|
||||
|
||||
# Build artifact
|
||||
%mvn_build -f
|
||||
%mvn_build -f -- -Dmaven.compiler.source=1.7 -Dmaven.compiler.target=1.7
|
||||
|
||||
# Inject OSGi manifests
|
||||
jar ufm target/%{name}-%{upstream_version}.jar %{SOURCE1}
|
||||
@ -88,6 +88,9 @@ jar ufm target/%{name}-%{upstream_version}.jar %{SOURCE1}
|
||||
%license LICENSE.txt
|
||||
|
||||
%changelog
|
||||
* Tue Nov 02 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.0.0-7
|
||||
- Set explicit Java compiler source/target levels to 1.7
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user