From 879bf61006bc5420043bcd98643776b4f8ba9fc3 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 4 Aug 2021 12:27:23 +0200 Subject: [PATCH] Don't package some examples when SDL_sound is disabled --- openal-soft.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/openal-soft.spec b/openal-soft.spec index 9ba8b3a..3ce0894 100644 --- a/openal-soft.spec +++ b/openal-soft.spec @@ -2,7 +2,7 @@ Name: openal-soft Version: 1.19.1 -Release: 14%{?dist} +Release: 15%{?dist} Summary: Open Audio Library License: LGPLv2+ @@ -101,20 +101,25 @@ sed -i 's/#allow-moves = false/allow-moves = true/' \ %{_libdir}/cmake/OpenAL %files examples +%if 0%{?fedora} || 0%{?rhel} < 9 %{_bindir}/alhrtf %{_bindir}/allatency %{_bindir}/alloopback %{_bindir}/almultireverb %{_bindir}/alplay -%{_bindir}/alrecord %{_bindir}/alreverb %{_bindir}/alstream +%endif +%{_bindir}/alrecord %{_bindir}/altonegen %files qt %{_bindir}/alsoft-config %changelog +* Wed Aug 04 2021 Wim Taymans - 1.19.1-15 +- Don't package some examples when SDL_sound is disabled + * Mon Aug 02 2021 Wim Taymans - 1.19.1-14 - Only build SDL_sound support on Fedora and rhel < 9