From d0ebfeca1faa86ec631abf5926c9f99d18e0c47377d7a6a67f9c918725b00b7d Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Thu, 29 Feb 2024 14:47:43 +0000 Subject: [PATCH] Accepting request 1153275 from home:dimstar:rpm4.20:p Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1153275 OBS-URL: https://build.opensuse.org/package/show/Publishing/plotutils?expand=0&rev=27 --- plotutils.changes | 5 +++++ plotutils.spec | 16 ++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/plotutils.changes b/plotutils.changes index 07e5f1d..24a259f 100644 --- a/plotutils.changes +++ b/plotutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 29 14:35:45 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Wed Sep 21 11:53:33 UTC 2022 - Dr. Werner Fink diff --git a/plotutils.spec b/plotutils.spec index 2b6e418..fc06a3d 100644 --- a/plotutils.spec +++ b/plotutils.spec @@ -148,14 +148,14 @@ graphics animations under the X Window System. %prep %{?gpg_verify: %gpg_verify %{S:1}} %setup -q -%patch0 -p0 -%patch1 -p0 -%patch2 -p0 -%patch3 -p0 -b .p3 -%patch4 -p1 -%patch5 -p0 -%patch6 -p0 -%patch7 -p0 +%patch -P 0 -p0 +%patch -P 1 -p0 +%patch -P 2 -p0 +%patch -P 3 -p0 -b .p3 +%patch -P 4 -p1 +%patch -P 5 -p0 +%patch -P 6 -p0 +%patch -P 7 -p0 # Avoid update lex and bison code as otherwise we may see broken code (bnc#829479) # that is do *not* remove any lex\yacc code grep -rslE '(made by GNU Bison|A Bison parser, made from|"lex.yy.c")' . | xargs -r touch