From 0b301152923bd38b63a98909db6a5e0a79885305 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Thu, 16 Nov 2023 20:55:59 +0100 Subject: [PATCH] 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 --- bubblewrap.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/bubblewrap.spec b/bubblewrap.spec index 624e2ba..459614f 100644 --- a/bubblewrap.spec +++ b/bubblewrap.spec @@ -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