From 0ae55cc0b84f7e44ad102cb97e91e0ed443e9f23 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 2 Aug 2021 16:01:10 +0200 Subject: [PATCH] Only build SDL_sound support on Fedora and rhel < 9 --- openal-soft.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/openal-soft.spec b/openal-soft.spec index a7c8e32..9ba8b3a 100644 --- a/openal-soft.spec +++ b/openal-soft.spec @@ -2,7 +2,7 @@ Name: openal-soft Version: 1.19.1 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Open Audio Library License: LGPLv2+ @@ -20,10 +20,12 @@ BuildRequires: gcc-c++ BuildRequires: fluidsynth-devel BuildRequires: portaudio-devel %endif +%if 0%{?fedora} || 0%{?rhel} < 9 +BuildRequires: SDL_sound-devel +%endif BuildRequires: pulseaudio-libs-devel BuildRequires: qt5-qtbase-devel BuildRequires: SDL2-devel -BuildRequires: SDL_sound-devel Obsoletes: openal <= 0.0.10 Provides: openal = %{version} @@ -113,6 +115,9 @@ sed -i 's/#allow-moves = false/allow-moves = true/' \ %{_bindir}/alsoft-config %changelog +* Mon Aug 02 2021 Wim Taymans - 1.19.1-14 +- Only build SDL_sound support on Fedora and rhel < 9 + * Thu Jul 22 2021 Fedora Release Engineering - 1.19.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild