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
Version: 2.10
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Java Design Quality Metrics
License: MIT
URL: https://github.com/clarkware/jdepend
@ -39,7 +39,7 @@ find . -type d -exec chmod 755 {} \;
%mvn_file %{name}:%{name} %{name}
%build
ant jar javadoc
ant -Dant.build.javac.source=1.7 -Dant.build.javac.target=1.7 jar javadoc
%install
%mvn_artifact jdepend:jdepend:%{version} dist/%{name}-%{version}.jar
@ -53,6 +53,9 @@ ant jar javadoc
%license LICENSE.md
%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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild