From 0c81d7844558e0d27778e276f0790caf2635bb32ed18b5c264010e4428e66de5 Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Wed, 28 Feb 2024 13:21:41 +0000 Subject: [PATCH] Accepting request 1152131 from home:dimstar:rpm4.20:g Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1152131 OBS-URL: https://build.opensuse.org/package/show/electronics/gnucap?expand=0&rev=4 --- gnucap.changes | 5 +++++ gnucap.spec | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/gnucap.changes b/gnucap.changes index ec21a82..1c699e1 100644 --- a/gnucap.changes +++ b/gnucap.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 27 10:56:21 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Fri Jun 17 06:46:39 UTC 2016 - dmitry_r@opensuse.org diff --git a/gnucap.spec b/gnucap.spec index 2b213db..37f0cee 100644 --- a/gnucap.spec +++ b/gnucap.spec @@ -71,11 +71,11 @@ driven analog simulation, and true multi-rate simulation. %setup -q # use ncurses instead of termcap sed -i 's/-ltermcap/-lncurses/g' configure -%patch1 -p1 -%patch2 -p1 -%patch3 -p0 -%patch4 -p0 -%patch5 -p1 +%patch -P 1 -p1 +%patch -P 2 -p1 +%patch -P 3 -p0 +%patch -P 4 -p0 +%patch -P 5 -p1 rm INSTALL %build