From 781e1b95303befb0c91c13eaab92d84721661089e980b80c917c2675b0f896c5 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 12 Jan 2024 10:50:33 +0000 Subject: [PATCH 1/2] Accepting request 1138255 from home:Wismill:branches:X11:Wayland Add libxkbcommon-tools-bash-completions OBS-URL: https://build.opensuse.org/request/show/1138255 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libxkbcommon?expand=0&rev=89 --- libxkbcommon.changes | 5 +++++ libxkbcommon.spec | 17 ++++++++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/libxkbcommon.changes b/libxkbcommon.changes index fa5928b..27b5a4e 100644 --- a/libxkbcommon.changes +++ b/libxkbcommon.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jan 12 09:32:56 UTC 2024 - Pierre Le Marre + +- Add libxkbcommon-tools-bash-completions. + ------------------------------------------------------------------- Tue Jan 9 11:53:36 UTC 2024 - Marcus Meissner diff --git a/libxkbcommon.spec b/libxkbcommon.spec index 1987907..f5fc5fc 100644 --- a/libxkbcommon.spec +++ b/libxkbcommon.spec @@ -104,6 +104,17 @@ Group: System/X11/Utilities %description tools xkbcommon tools for introspection and debugging. +%package tools-bash-completion +Summary: Bash completion for %{name}-tools +Requires: %{name} = %{version} +Requires: bash-completion +Supplements: (%{name}-tools and bash-completion) +BuildArch: noarch + +%description tools-bash-completion + +Bash completion for %{name}-tools. + %package x11-devel Summary: Development files for the libxkbcommon-x11 library Group: Development/Libraries/C and C++ @@ -152,7 +163,7 @@ ef=-Denable-x11=false %install %meson_install -rm -rf %buildroot/%_datadir/bash-completion +chmod -x %buildroot/%_datadir/bash-completion/completions/xkbcli* %post -n libxkbcommon0 -p /sbin/ldconfig %postun -n libxkbcommon0 -p /sbin/ldconfig @@ -179,6 +190,10 @@ rm -rf %buildroot/%_datadir/bash-completion %_libexecdir/xkbcommon/ %_mandir/man1/xkbcli* +%files tools-bash-completion +%license LICENSE +%_datadir/bash-completion/completions/xkbcli* + %if %{with x11} %files -n libxkbcommon-x11-0 %license LICENSE From a033da8505fc479cf7f6d9f96e9436b401400c93b0939bbf310695bc8566fc06 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 13 Jan 2024 08:26:47 +0000 Subject: [PATCH 2/2] b-c is for tools not for (main) OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libxkbcommon?expand=0&rev=90 --- libxkbcommon.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libxkbcommon.spec b/libxkbcommon.spec index f5fc5fc..4ce45b1 100644 --- a/libxkbcommon.spec +++ b/libxkbcommon.spec @@ -105,15 +105,15 @@ Group: System/X11/Utilities xkbcommon tools for introspection and debugging. %package tools-bash-completion -Summary: Bash completion for %{name}-tools -Requires: %{name} = %{version} +Summary: Bash completion for %name-tools +Requires: %name-tools = %version Requires: bash-completion -Supplements: (%{name}-tools and bash-completion) +Supplements: (%name-tools and bash-completion) BuildArch: noarch %description tools-bash-completion -Bash completion for %{name}-tools. +Bash completion for %name-tools. %package x11-devel Summary: Development files for the libxkbcommon-x11 library