From ac2cd0f859da22797a4dd9cd19e9be57038ebca0 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Wed, 28 Sep 2022 21:15:08 +0000 Subject: [PATCH] Fix ELN build failures Since August of 2021, openal-soft has been failing to build in ELN. ELN has the %{rhel} flag turned on and set to 10. The packages in the %files examples section get built, whether SDL_sound-devel is enabled or not. Simply taking them out of the %files list does not work, they need to be excluded. This pull request excludes the files so that builds are successful in ELN or RHEL. Signed-off-by: Troy Dawson --- openal-soft.spec | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/openal-soft.spec b/openal-soft.spec index f4ca86e..bfe6221 100644 --- a/openal-soft.spec +++ b/openal-soft.spec @@ -1,6 +1,6 @@ Name: openal-soft Version: 1.22.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Open Audio Library License: LGPLv2+ @@ -113,6 +113,14 @@ sed -i 's/#allow-moves = false/allow-moves = true/' \ %{_bindir}/alplay %{_bindir}/alreverb %{_bindir}/alstream +%else +%exclude %{_bindir}/alhrtf +%exclude %{_bindir}/allatency +%exclude %{_bindir}/alloopback +%exclude %{_bindir}/almultireverb +%exclude %{_bindir}/alplay +%exclude %{_bindir}/alreverb +%exclude %{_bindir}/alstream %endif %{_bindir}/alrecord %{_bindir}/altonegen @@ -121,6 +129,9 @@ sed -i 's/#allow-moves = false/allow-moves = true/' \ %{_bindir}/alsoft-config %changelog +* Fri Sep 30 2022 Troy Dawson - 1.22.2-3 +- Fix ELN build failures + * Fri Jul 22 2022 Fedora Release Engineering - 1.22.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild