From 37bacebc0fed8def0daa1d2a9a3618f1400a22c455d822ebd3cbcf4761d3e586 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 27 Mar 2024 13:13:13 +0000 Subject: [PATCH] Accepting request 1148216 from home:dimstar:rpm4.20:u Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1148216 OBS-URL: https://build.opensuse.org/package/show/hardware/usb_modeswitch?expand=0&rev=82 --- usb_modeswitch.changes | 5 +++++ usb_modeswitch.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/usb_modeswitch.changes b/usb_modeswitch.changes index 5b4084a..02bc8bc 100644 --- a/usb_modeswitch.changes +++ b/usb_modeswitch.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 20 15:39:41 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Fri Nov 26 12:00:38 UTC 2021 - Johannes Segitz diff --git a/usb_modeswitch.spec b/usb_modeswitch.spec index 3c1ca42..f1fffe6 100644 --- a/usb_modeswitch.spec +++ b/usb_modeswitch.spec @@ -59,8 +59,8 @@ Data files for usb_modeswitch package. %prep %setup -q -a1 -n %{source_name}-%{version} -%patch1 -%patch2 -p1 +%patch -P 1 +%patch -P 2 -p1 cp %{SOURCE2} . cp %{SOURCE3} .