From 3a981b21ba8e17f223493b08e4139d8ec43cd449bce162ef586755030e096d60 Mon Sep 17 00:00:00 2001 From: Michal Suchanek Date: Thu, 22 Feb 2024 12:52:28 +0000 Subject: [PATCH] Accepting request 1149337 from home:dimstar:rpm4.20:k Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1149337 OBS-URL: https://build.opensuse.org/package/show/X11:lxde/keybinder?expand=0&rev=9 --- keybinder.changes | 6 ++++++ keybinder.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/keybinder.changes b/keybinder.changes index 4795a0d..4d86f3a 100644 --- a/keybinder.changes +++ b/keybinder.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 22 12:48:55 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN + ------------------------------------------------------------------- Mon Nov 6 16:19:23 UTC 2023 - Dominique Leuenberger diff --git a/keybinder.spec b/keybinder.spec index 1e84413..b94067e 100644 --- a/keybinder.spec +++ b/keybinder.spec @@ -130,8 +130,8 @@ This package provides the GObject Introspection bindings for libkeybinder0. # End of compatibility cruft %prep -%setup -q -%patch0 -p1 +%autosetup -p1 + cp -a %{SOURCE1} examples find examples/ \( -name '*.py' -o -name '*.lua' \) -print -exec sh -c ' ed -s "$1" 2>/dev/null <<\EOF