6
0
forked from pool/java-jwt
2024-10-08 20:31:56 +00:00
committed by Git OBS Bridge
parent fd80ee9f9f
commit 2acd7b882d
4 changed files with 9 additions and 18 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package java-jwt
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: java-jwt
Version: 3.8.3
Version: 4.4.0
Release: 0
Summary: Java JWT
License: MIT
@@ -47,14 +47,11 @@ API documentation for the Logback library
cp %{SOURCE1} lib/pom.xml
%pom_xpath_remove pom:dependency/pom:scope lib
find lib -name module-info.java -print -delete
%build
pushd lib
%{mvn_build} -f -- \
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
-Dmaven.compiler.release=8 \
%endif
-Dmaven.compiler.source=8 -Dmaven.compiler.target=8 -Dsource=8
%{mvn_build} -f
popd
%install