From 4fa11f7441c0ba97b0d9fa947644a870f2c62e00 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Thu, 19 Jan 2017 16:49:07 +0100 Subject: [PATCH] Fix the build on RHEL There's no soxr on RHEL; just disable the support there as the soxr resampler is usually not used. https://bugzilla.redhat.com/show_bug.cgi?id=1387036 --- pulseaudio.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pulseaudio.spec b/pulseaudio.spec index ac570ac..9b0db1e 100644 --- a/pulseaudio.spec +++ b/pulseaudio.spec @@ -25,7 +25,7 @@ Name: pulseaudio Summary: Improved Linux Sound Server Version: %{pa_major}%{?pa_minor:.%{pa_minor}} -Release: 1%{?snap:.%{snap}git%{shortcommit}}%{?dist} +Release: 2%{?snap:.%{snap}git%{shortcommit}}%{?dist} License: LGPLv2+ URL: http://www.freedesktop.org/wiki/Software/PulseAudio %if 0%{?gitrel} @@ -94,7 +94,9 @@ BuildRequires: xcb-util-devel BuildRequires: openssl-devel BuildRequires: orc-devel BuildRequires: libtdb-devel +%if 0%{?fedora} BuildRequires: pkgconfig(soxr) +%endif BuildRequires: pkgconfig(speexdsp) >= 1.2 BuildRequires: libasyncns-devel BuildRequires: systemd-devel >= 184 @@ -581,6 +583,9 @@ exit 0 %changelog +* Thu Jan 19 2017 Kalev Lember - 10.0-2 +- Fix the build on RHEL + * Thu Jan 19 2017 Kalev Lember - 10.0-1 - Update to 10.0