From 2ed5b5af0408c70c561cf7965c3c76bdf232e24c6b1a4f98d3f391148a3cd8fa Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Thu, 15 Aug 2024 06:35:01 +0000 Subject: [PATCH] - Replace deprecated %patchN syntax with %patch -P N. OBS-URL: https://build.opensuse.org/package/show/benchmark/rtla?expand=0&rev=13 --- rtla.changes | 5 +++++ rtla.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/rtla.changes b/rtla.changes index 4f882fd..786664e 100644 --- a/rtla.changes +++ b/rtla.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 14 09:58:51 UTC 2024 - Dominique Leuenberger + +- Replace deprecated %patchN syntax with %patch -P N. + ------------------------------------------------------------------- Thu Jul 4 00:00:00 CEST 2024 - dsterba@suse.cz diff --git a/rtla.spec b/rtla.spec index b628966..43256d2 100644 --- a/rtla.spec +++ b/rtla.spec @@ -52,7 +52,7 @@ There is no reason to install this package. (cd %{_prefix}/src/linux ; tar -cf - COPYING CREDITS README tools include scripts Kbuild Makefile arch/*/{include,lib,Makefile} lib Documentation/tools/rtla) | tar -xf - # Workaround for missing lib dependency sed -i 's/--libs libtracefs/--libs libtracefs libtraceevent/' tools/tracing/rtla/Makefile -%patch1 -p1 +%patch -P 1 -p1 %build cd tools/tracing/rtla