Fixed examples build on RHEL and ELN.
This commit is contained in:
parent
3848a7d0a1
commit
8043235343
@ -1,6 +1,6 @@
|
||||
Name: openal-soft
|
||||
Version: 1.22.2
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Summary: Open Audio Library
|
||||
|
||||
License: LGPL-2.0-or-later AND BSD-3-Clause
|
||||
@ -17,9 +17,6 @@ BuildRequires: ninja-build
|
||||
BuildRequires: fluidsynth-devel
|
||||
BuildRequires: portaudio-devel
|
||||
%endif
|
||||
%if 0%{?fedora} || 0%{?rhel} < 9
|
||||
BuildRequires: SDL_sound-devel
|
||||
%endif
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 9
|
||||
BuildRequires: pipewire-devel
|
||||
%endif
|
||||
@ -109,7 +106,6 @@ 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
|
||||
@ -117,15 +113,6 @@ 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
|
||||
|
||||
@ -133,6 +120,9 @@ sed -i 's/#allow-moves = false/allow-moves = true/' \
|
||||
%{_bindir}/alsoft-config
|
||||
|
||||
%changelog
|
||||
* Sun Dec 18 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 1.22.2-6
|
||||
- Fixed examples build on RHEL and ELN.
|
||||
|
||||
* Sun Dec 18 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 1.22.2-5
|
||||
- Enabled PipeWire native backend also on RHEL 9+.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user