SHA256
1
0
forked from pool/java-jwt

Accepting request 1120416 from Java:packages

source/target 8 == build with jdk 21

OBS-URL: https://build.opensuse.org/request/show/1120416
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/java-jwt?expand=0&rev=2
This commit is contained in:
Ana Guerrero 2023-10-26 15:14:19 +00:00 committed by Git OBS Bridge
commit 5ba8be99a3
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Oct 26 04:35:00 UTC 2023 - Fridrich Strba <fstrba@suse.com>
- Build with source and target levels 8
-------------------------------------------------------------------
Thu Feb 27 08:53:09 UTC 2020 - Fridrich Strba <fstrba@suse.com>

View File

@ -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