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
This commit is contained in:
Jan Engelhardt 2024-01-12 10:50:33 +00:00 committed by Git OBS Bridge
parent 12a86b8956
commit 781e1b9530
2 changed files with 21 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jan 12 09:32:56 UTC 2024 - Pierre Le Marre <opensuse@wismill.eu>
- Add libxkbcommon-tools-bash-completions.
-------------------------------------------------------------------
Tue Jan 9 11:53:36 UTC 2024 - Marcus Meissner <meissner@suse.com>

View File

@ -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