From 628b9e625810a1d73c8370893b2c5b53e318a5741212101d7344903581584190 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 20 Feb 2024 13:22:19 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=110 --- xmlgraphics-fop.changes | 5 +++++ xmlgraphics-fop.spec | 16 ++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/xmlgraphics-fop.changes b/xmlgraphics-fop.changes index 6728506..ef944e9 100644 --- a/xmlgraphics-fop.changes +++ b/xmlgraphics-fop.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 20 13:22:12 UTC 2024 - Fridrich Strba + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Thu Jan 26 08:27:09 UTC 2023 - Fridrich Strba diff --git a/xmlgraphics-fop.spec b/xmlgraphics-fop.spec index e9d36f3..36e8efc 100644 --- a/xmlgraphics-fop.spec +++ b/xmlgraphics-fop.spec @@ -1,7 +1,7 @@ # # spec file for package xmlgraphics-fop # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2000-2008, JPackage Project # # All modifications and additions to the file contributed by third parties @@ -76,13 +76,13 @@ representation), Print, AWT, MIF, and TXT. %setup -q -n %{bname}-%{version} -a1 ln -t fop/hyph offo-hyphenation/hyph/*.xml find -name "*.jar" | xargs -t rm -%patch1 -p1 -b .cli -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 +%patch -P 1 -p1 -b .cli +%patch -P 2 -p1 +%patch -P 3 -p1 +%patch -P 4 -p1 +%patch -P 5 -p1 +%patch -P 6 -p1 +%patch -P 7 -p1 # Replace keyword "VERSION" in XML files with the real one: for x in %{SOURCE10} %{SOURCE11} %{SOURCE12}; do