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