From: Cole Robinson Date: Mon, 19 Feb 2024 16:44:53 +0000 (-0500) Subject: spec: Handle new location of bash-completion .pc file X-Git-Tag: v10.1.0-rc2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=066aa232f8180f7d54762eacc7fa2e4d07bea418;p=thirdparty%2Flibvirt.git spec: Handle new location of bash-completion .pc file On Fedora 41, bash-completion's .pc file moved to `bash-completion-devel`. Using `pkgconfig()` lets us handle this without distro version checks Signed-off-by: Cole Robinson --- diff --git a/libvirt.spec.in b/libvirt.spec.in index 3358589413..64018192b6 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -339,7 +339,7 @@ BuildRequires: xen-devel BuildRequires: glib2-devel >= 2.56 BuildRequires: libxml2-devel BuildRequires: readline-devel -BuildRequires: bash-completion >= 2.0 +BuildRequires: pkgconfig(bash-completion) >= 2.0 BuildRequires: libtasn1-devel BuildRequires: gnutls-devel BuildRequires: libattr-devel