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} .