From 030b79f65a3e05f9e88a9c572b8f2afb0c136e2228fcf9fc5607506e0fdd165e Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Sat, 2 Sep 2023 21:58:53 +0000 Subject: [PATCH 1/2] OBS-URL: https://build.opensuse.org/package/show/Java:packages/jline?expand=0&rev=42 --- jline.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jline.spec b/jline.spec index 35b5531..eb56b01 100644 --- a/jline.spec +++ b/jline.spec @@ -1,7 +1,7 @@ # # spec file for package jline # -# 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 @@ -32,7 +32,6 @@ BuildRequires: fdupes BuildRequires: jansi BuildRequires: javapackages-local #!BuildIgnore: ant-antlr -Requires: mvn(org.fusesource.jansi:jansi) BuildArch: noarch %description From 6f93582438765ae170d04d142d75071c1ad11916731b83bf9bd284a9c8eaddf9 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 20 Feb 2024 14:38:23 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/Java:packages/jline?expand=0&rev=43 --- jline.changes | 5 +++++ jline.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/jline.changes b/jline.changes index 2daa10b..a538d06 100644 --- a/jline.changes +++ b/jline.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 20 14:38:17 UTC 2024 - Fridrich Strba + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Mon May 16 11:09:38 UTC 2022 - Fridrich Strba diff --git a/jline.spec b/jline.spec index eb56b01..251a57a 100644 --- a/jline.spec +++ b/jline.spec @@ -1,7 +1,7 @@ # # spec file for package jline # -# 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 @@ -49,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