From fa1c81c50ec71aac62cd04549aad8fb502e289bd7e2f32acc5a35b5c4c7e0328 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Thu, 29 Feb 2024 17:00:49 +0000 Subject: [PATCH] Accepting request 1153359 from home:dimstar:rpm4.20:p Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1153359 OBS-URL: https://build.opensuse.org/package/show/Publishing/psgml?expand=0&rev=26 --- psgml.changes | 5 +++++ psgml.spec | 20 +++++--------------- 2 files changed, 10 insertions(+), 15 deletions(-) diff --git a/psgml.changes b/psgml.changes index 29aecd4..c6fcf9b 100644 --- a/psgml.changes +++ b/psgml.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 29 14:59:46 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Tue Nov 7 09:57:32 UTC 2023 - Dominique Leuenberger diff --git a/psgml.spec b/psgml.spec index a00b2e7..12b3314 100644 --- a/psgml.spec +++ b/psgml.spec @@ -66,26 +66,16 @@ For more info see README.openSUSE. Compiled for GNU Emacs (XEmacs has its own version!). - -Authors: --------- - James Clark - Lennart Staflin - David Megginson - Matthias Clasen - François Pinard - etc. - %prep %setup -q -%patch0 -p1 -%patch9 -p1 +%patch -P 0 -p1 +%patch -P 9 -p1 cp -p %{SOURCE1} . # xxml mkdir xxml tar vxz -C xxml -f %{SOURCE4} %patch -P 5 -p0 -%patch7 -p1 +%patch -P 7 -p1 cp xxml/xxml.el . for f in README THANKS; do cp xxml/$f $f.xxml @@ -102,8 +92,8 @@ cp -p %{SOURCE7} . cp -p %{SOURCE8} . cp -p %{S:9} . %patch -p 1 -P 6 -%patch8 -%patch10 -p0 +%patch -P 8 +%patch -P 10 -p0 %build ./configure --prefix=%{_prefix} --infodir=%{_infodir}