Accepting request 1074603 from Java:packages

optional dependency xz-java must be on the classpath

OBS-URL: https://build.opensuse.org/request/show/1074603
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/eclipse-jgit?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2023-03-27 16:16:45 +00:00 committed by Git OBS Bridge
commit aa7f81fa4f
3 changed files with 12 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#
# spec file for package eclipse-jgit
#
# Copyright (c) 2022 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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Mar 27 08:18:14 UTC 2023 - Fridrich Strba <fstrba@suse.com>
- Require xz-java because the jgit script that we install is
expecting it to be present when composing the classpath
(bsc#1209646)
-------------------------------------------------------------------
Wed Nov 16 11:24:53 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package jgit
#
# Copyright (c) 2022 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
@ -68,6 +68,9 @@ BuildRequires: mvn(org.osgi:osgi.core)
BuildRequires: mvn(org.slf4j:slf4j-api)
BuildRequires: mvn(org.slf4j:slf4j-simple)
BuildRequires: mvn(org.tukaani:xz)
# This is only optional dependency of commons-compress,
# But the jgit script needs that jar on classpath
Requires: xz-java
Obsoletes: %{name}-bootstrap
BuildArch: noarch