Accepting request 1148108 from Java:packages

rpm 4.20 compat

OBS-URL: https://build.opensuse.org/request/show/1148108
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jline?expand=0&rev=27
This commit is contained in:
Ana Guerrero 2024-02-21 16:52:25 +00:00 committed by Git OBS Bridge
commit 853aefb642
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 20 14:38:17 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Use %patch -P N instead of deprecated %patchN.
-------------------------------------------------------------------
Mon May 16 11:09:38 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package jline
#
# Copyright (c) 2022 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
@ -32,7 +32,6 @@ BuildRequires: fdupes
BuildRequires: jansi
BuildRequires: javapackages-local
#!BuildIgnore: ant-antlr
Requires: mvn(org.fusesource.jansi:jansi)
BuildArch: noarch
%description
@ -50,8 +49,8 @@ This package contains the API documentation for %{name}.
%prep
%setup -q -n jline2-jline-%{version}
%patch0 -p1
%patch1 -p1
%patch -P 0 -p1
%patch -P 1 -p1
%pom_change_dep org.fusesource.jansi:jansi org.fusesource.jansi:jansi:1.12
cp %{SOURCE1} build.xml
mkdir -p lib