From 309e9d10028383664874357b0d68735c0dcabe2c01ed758b29acf7dfb6b46b32 Mon Sep 17 00:00:00 2001 From: Michal Suchanek Date: Mon, 6 Nov 2023 17:58:01 +0000 Subject: [PATCH] Accepting request 1123656 from home:dimstar:Factory Fix build with RPM 4.19: unnumbered patches are no longer supported. OBS-URL: https://build.opensuse.org/request/show/1123656 OBS-URL: https://build.opensuse.org/package/show/X11:lxde/keybinder?expand=0&rev=7 --- keybinder.changes | 6 ++++++ keybinder.spec | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/keybinder.changes b/keybinder.changes index e358713..4795a0d 100644 --- a/keybinder.changes +++ b/keybinder.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Nov 6 16:19:23 UTC 2023 - Dominique Leuenberger + +- Fix build with RPM 4.19: unnumbered patches are no longer + supported. + ------------------------------------------------------------------- Mon Apr 4 18:53:53 UTC 2022 - Michal Suchanek diff --git a/keybinder.spec b/keybinder.spec index d25977f..1e84413 100644 --- a/keybinder.spec +++ b/keybinder.spec @@ -1,7 +1,7 @@ # # spec file for package keybinder # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -33,7 +33,7 @@ Group: Development/Libraries/C and C++ URL: https://github.com/kupferlauncher Source: https://github.com/kupferlauncher/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz Source1: example_gi.py -Patch: keybinder-doc-xml-fallback.patch +Patch0: keybinder-doc-xml-fallback.patch BuildRequires: ed BuildRequires: fdupes # For Documentation Directory Ownership @@ -131,7 +131,7 @@ This package provides the GObject Introspection bindings for libkeybinder0. %prep %setup -q -%patch -p1 +%patch0 -p1 cp -a %{SOURCE1} examples find examples/ \( -name '*.py' -o -name '*.lua' \) -print -exec sh -c ' ed -s "$1" 2>/dev/null <<\EOF