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 <tdawson@redhat.com>
epel10
Troy Dawson 2 years ago committed by Troy Dawson
parent 32111a153a
commit ac2cd0f859

@ -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 <tdawson@redhat.com> - 1.22.2-3
- Fix ELN build failures
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.22.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

Loading…
Cancel
Save