From 1b5ad1bbd318bb9edf82471e812446ecd404f79e Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Wed, 30 Oct 2013 15:50:26 -0500 Subject: [PATCH] include workaround for libpulse pkgconfig bogosity --- phonon.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phonon.spec b/phonon.spec index 5e36b1f..a1b6d9f 100644 --- a/phonon.spec +++ b/phonon.spec @@ -53,7 +53,7 @@ BuildRequires: pkgconfig(QZeitgeist) %endif BuildRequires: pkgconfig(xcb) -%global pulseaudio_version %(pkg-config --modversion libpulse 2>/dev/null || echo 0.9.15) +%global pulseaudio_version %((pkg-config --modversion libpulse 2>/dev/null || echo 0.9.15) | cut -d- -f1) Requires: kde-filesystem ## Beware bootstrapping, have -Requires/+Requires this for step 0, then build at least one backend