From 096a7fe45385605190fbe693fc29c8b9870132f63af05219f34693b0a076bc79 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Tue, 27 Feb 2024 11:21:02 +0000 Subject: [PATCH] Accepting request 1152174 from home:dimstar:rpm4.20:g Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1152174 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/gpsd?expand=0&rev=157 --- gpsd.changes | 5 +++++ gpsd.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gpsd.changes b/gpsd.changes index 511630e..3f432d8 100644 --- a/gpsd.changes +++ b/gpsd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 27 11:11:27 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Mon Sep 18 13:55:33 UTC 2023 - Christophe Marin diff --git a/gpsd.spec b/gpsd.spec index 8ed5f20..067ea76 100644 --- a/gpsd.spec +++ b/gpsd.spec @@ -178,15 +178,15 @@ can run on a serial terminal or terminal emulator. mkdir -p %{name}-%{version}/python2 tar -xf %{SOURCE0} -C %{name}-%{version}/python2 pushd %{name}-%{version}/python2/%{name}-%{version} -%patch0 -%patch1 +%patch -P 0 +%patch -P 1 popd %endif mkdir -p %{name}-%{version}/python3 tar -xf %{SOURCE0} -C %{name}-%{version}/python3 pushd %{name}-%{version}/python3/%{name}-%{version} -%patch0 -%patch1 +%patch -P 0 +%patch -P 1 popd %build