From 2802b131aac2132f318490775c976c46bf5bcf11dbaecf267238f3a55331f08a Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 20 Feb 2024 14:48:11 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/xerces-j2?expand=0&rev=76 --- xerces-j2.changes | 5 +++++ xerces-j2.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/xerces-j2.changes b/xerces-j2.changes index 4ca7fe1..92d2861 100644 --- a/xerces-j2.changes +++ b/xerces-j2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 20 14:48:04 UTC 2024 - Fridrich Strba + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Fri Mar 18 16:34:22 UTC 2022 - Fridrich Strba diff --git a/xerces-j2.spec b/xerces-j2.spec index 51afbb1..6bdf95b 100644 --- a/xerces-j2.spec +++ b/xerces-j2.spec @@ -1,7 +1,7 @@ # # spec file for package xerces-j2 # -# 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 @@ -87,8 +87,8 @@ Requires: %{name} = %{version}-%{release} find "(" -name "*.class" -o -name "*.jar" ")" -delete find -type f -exec dos2unix {} \; -%patch0 -p1 -%patch1 +%patch -P 0 -p1 +%patch -P 1 %build mkdir -p tools