Explicitly specify JVM source and target version

This commit is contained in:
Marian Koncek 2022-08-05 15:57:05 +02:00
parent f1d3796b8e
commit 2cea88c9ae

View File

@ -1,6 +1,6 @@
Name: jdepend Name: jdepend
Version: 2.10 Version: 2.10
Release: 2%{?dist} Release: 3%{?dist}
Summary: Java Design Quality Metrics Summary: Java Design Quality Metrics
License: MIT License: MIT
URL: https://github.com/clarkware/jdepend URL: https://github.com/clarkware/jdepend
@ -39,7 +39,7 @@ find . -type d -exec chmod 755 {} \;
%mvn_file %{name}:%{name} %{name} %mvn_file %{name}:%{name} %{name}
%build %build
ant jar javadoc ant -Dant.build.javac.source=1.7 -Dant.build.javac.target=1.7 jar javadoc
%install %install
%mvn_artifact jdepend:jdepend:%{version} dist/%{name}-%{version}.jar %mvn_artifact jdepend:jdepend:%{version} dist/%{name}-%{version}.jar
@ -53,6 +53,9 @@ ant jar javadoc
%license LICENSE.md %license LICENSE.md
%changelog %changelog
* Fri Aug 05 2022 Marian Koncek <mkoncek@redhat.com> - 2.10-3
- Explicitly specify JVM source and target version
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-2 * Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild