Use Bash's bash-completion.pc to provide the location for completions

There's no need to assume where the Bash completions should be installed
when there's an API for it.  This doesn't add any runtime dependency,
and doesn't require any downstream contortions because bash-completion
is present in RHELs 8 and 9.

There's no need to do a build just for this.

https://src.fedoraproject.org/rpms/bubblewrap/pull-request/1
This commit is contained in:
Debarshi Ray 2023-11-16 20:55:59 +01:00
parent 42c5485117
commit 0b30115292

View File

@ -7,6 +7,7 @@ License: LGPL-2.0-or-later
URL: https://github.com/containers/bubblewrap/
Source0: https://github.com/containers/bubblewrap/releases/download/v%{version}/bubblewrap-%{version}.tar.xz
BuildRequires: pkgconfig(bash-completion) >= 2.0
BuildRequires: gcc
BuildRequires: docbook-style-xsl
BuildRequires: meson