From c6d187dcb4623ffc2bc443abc388f736276e6064cc3f6e103afc826580abcae6 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Fri, 1 Mar 2024 10:46:48 +0000 Subject: [PATCH] Accepting request 1153827 from home:pgajdos:l - Use %patch -P N instead of deprecated %patchN. OBS-URL: https://build.opensuse.org/request/show/1153827 OBS-URL: https://build.opensuse.org/package/show/network:utilities/libsmi?expand=0&rev=23 --- libsmi.changes | 5 +++++ libsmi.spec | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/libsmi.changes b/libsmi.changes index be9790a..7771f55 100644 --- a/libsmi.changes +++ b/libsmi.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 1 09:47:49 UTC 2024 - pgajdos@suse.com + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Tue Jan 4 21:45:50 UTC 2022 - Dirk Müller diff --git a/libsmi.spec b/libsmi.spec index 50e382b..bc77df0 100644 --- a/libsmi.spec +++ b/libsmi.spec @@ -76,14 +76,14 @@ libsmi. %prep %setup -q -%patch0 -p1 -%patch1 -p1 -%patch2 +%patch -P 0 -p1 +%patch -P 1 -p1 +%patch -P 2 %if 0%{?suse_version} > 1220 && 0%{?suse_version} < 1321 -%patch3 -p1 +%patch -P 3 -p1 %endif -%patch4 -p1 -%patch5 -p1 +%patch -P 4 -p1 +%patch -P 5 -p1 %build autoreconf --force --install