forked from pool/java-jwt
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user