Only build SDL_sound support on Fedora and rhel < 9

epel10
Wim Taymans 4 years ago
parent f541d29342
commit 0ae55cc0b8

@ -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 <wtaymans@redhat.com> - 1.19.1-14
- Only build SDL_sound support on Fedora and rhel < 9
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.1-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

Loading…
Cancel
Save