From bf9a945ea54b7f1125af9d2c8bfb4e9f97df45a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= Date: Wed, 15 Mar 2023 10:52:51 +0000 Subject: [PATCH] Fix build in all arches - enable-fixed-point in arm and powerpc to fix the build as Debian did - remove a non existing option ambisonics --- opus.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/opus.spec b/opus.spec index f965528..6044018 100644 --- a/opus.spec +++ b/opus.spec @@ -36,7 +36,11 @@ cp %{SOURCE2} . %build %configure --enable-custom-modes --disable-static \ - --enable-hardening --enable-ambisonics + --enable-hardening \ +%ifarch %{arm} %{arm64} %{power64} + --enable-fixed-point +%endif + %make_build @@ -67,6 +71,7 @@ make check %{?_smp_mflags} V=1 %changelog * Thu Jan 19 2023 Fedora Release Engineering - 1.3.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild +- Fix build in all arches, copied from Debian * Fri Jul 22 2022 Fedora Release Engineering - 1.3.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild