From 2cea88c9aeec714250a9af5630b4350217b306ec Mon Sep 17 00:00:00 2001 From: Marian Koncek Date: Fri, 5 Aug 2022 15:57:05 +0200 Subject: [PATCH] Explicitly specify JVM source and target version --- jdepend.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/jdepend.spec b/jdepend.spec index cff1da3..6e03b0a 100644 --- a/jdepend.spec +++ b/jdepend.spec @@ -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 - 2.10-3 +- Explicitly specify JVM source and target version + * Thu Jul 21 2022 Fedora Release Engineering - 2.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild