From d9e1d026aec268a3b6375da5111f0fca7c16d6c6621b378e21cd19e98d2682ad Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Thu, 29 Feb 2024 15:08:30 +0000 Subject: [PATCH] Accepting request 1153364 from home:dimstar:rpm4.20:p Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1153364 OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=146 --- psmisc.changes | 5 +++++ psmisc.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/psmisc.changes b/psmisc.changes index d12054d..eaa77d8 100644 --- a/psmisc.changes +++ b/psmisc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 29 15:01:09 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Mon Oct 23 13:36:04 UTC 2023 - Dr. Werner Fink diff --git a/psmisc.spec b/psmisc.spec index 5a532f3..6440427 100644 --- a/psmisc.spec +++ b/psmisc.spec @@ -60,9 +60,9 @@ processes that are using specified files or filesystems. %prep %setup -q -n %{name}-v%{version} -%patch2 -p0 -b .pstree -%patch3 -p0 -b .mntinf -%patch0 -p0 -b .p0 +%patch -P 2 -p0 -b .pstree +%patch -P 3 -p0 -b .mntinf +%patch -P 0 -p0 -b .p0 %build grep -h src/ po/*.po|\