From 11131c8ebad8523f941fbc8d230527bd9c5fda832bb089f100879cccdc766b23 Mon Sep 17 00:00:00 2001 From: Gus Kenion Date: Wed, 21 Feb 2024 10:47:30 +0000 Subject: [PATCH] rpm 4.20 compat OBS-URL: https://build.opensuse.org/package/show/Java:packages/jing-trang?expand=0&rev=29 --- jing-trang.changes | 5 +++++ jing-trang.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/jing-trang.changes b/jing-trang.changes index 6161a90..fb07459 100644 --- a/jing-trang.changes +++ b/jing-trang.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 21 10:47:28 UTC 2024 - Gus Kenion + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Tue Aug 15 18:18:54 UTC 2023 - Fridrich Strba diff --git a/jing-trang.spec b/jing-trang.spec index 3a624d0..89eddd5 100644 --- a/jing-trang.spec +++ b/jing-trang.spec @@ -1,7 +1,7 @@ # # spec file for package jing-trang # -# 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 @@ -122,9 +122,9 @@ cp %{SOURCE2} trang.pom cp %{SOURCE10} . mv gcj/{trang,jing}.1 . -%patch0 -p1 -%patch2 -p1 -%patch3 -p1 +%patch -P 0 -p1 +%patch -P 2 -p1 +%patch -P 3 -p1 rm -f \ mod/schematron/src/main/com/thaiopensource/validate/schematron/OldSaxonSchemaReaderFactory.java sed -i -e 's/\r//g' lib/isorelax.copying.txt