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