From fd80ee9f9fa23bc63724577678918c75d9e5385cf1e932e4eeb4f1be66ec2bde Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Thu, 26 Oct 2023 04:35:06 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/java-jwt?expand=0&rev=3 --- java-jwt.changes | 5 +++++ java-jwt.spec | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/java-jwt.changes b/java-jwt.changes index bd073df..ee69460 100644 --- a/java-jwt.changes +++ b/java-jwt.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 26 04:35:00 UTC 2023 - Fridrich Strba + +- Build with source and target levels 8 + ------------------------------------------------------------------- Thu Feb 27 08:53:09 UTC 2020 - Fridrich Strba diff --git a/java-jwt.spec b/java-jwt.spec index 8ba500f..8ea490d 100644 --- a/java-jwt.spec +++ b/java-jwt.spec @@ -1,7 +1,7 @@ # # spec file for package java-jwt # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,6 +26,7 @@ URL: https://github.com/auth0/%{name} Source0: https://github.com/auth0/%{name}/archive/%{version}.tar.gz Source1: https://repo1.maven.org/maven2/com/auth0/%{name}/%{version}/%{name}-%{version}.pom BuildRequires: fdupes +BuildRequires: java-devel >= 1.8 BuildRequires: maven-local BuildRequires: mvn(com.fasterxml.jackson.core:jackson-databind) BuildRequires: mvn(commons-codec:commons-codec) @@ -51,9 +52,9 @@ cp %{SOURCE1} lib/pom.xml pushd lib %{mvn_build} -f -- \ %if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0} - -Dmaven.compiler.release=7 \ + -Dmaven.compiler.release=8 \ %endif - -Dmaven.compiler.source=7 -Dmaven.compiler.target=7 -Dsource=7 + -Dmaven.compiler.source=8 -Dmaven.compiler.target=8 -Dsource=8 popd %install