The package rpms/zita-resampler.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/zita-resampler.git/commit/?id=15f....
Change:
+%ifarch x86_64
Thanks.
Full change:
============
commit 15f4c885b3b4ce9f78443d76c960fe3047382dc3
Author: Guido Aulisi <guido.aulisi(a)gmail.com>
Date: Sun Jan 3 15:38:06 2021 +0100
Fix build on arches without SSE2
diff --git a/zita-resampler.spec b/zita-resampler.spec
index b04072c..1498a81 100644
--- a/zita-resampler.spec
+++ b/zita-resampler.spec
@@ -36,11 +36,18 @@ This package contains the headers and development libraries for
%{name}.
%patch0 -p1 -b .destdir
# To make sure to have the correct Fedora specific flags:
-sed -i -e 's|-O[23]||' -e 's|ldconfig||' -e 's|-march=native||'
source/Makefile
+sed -i -e 's|-O[23]||' -e 's|ldconfig||' -e 's|-march=native||'
-e '/^CPPFLAGS += -DENABLE_SSE2/d' source/Makefile
sed -i -e 's|-O[23]||' -e 's|-march=native||' apps/Makefile
%build
%set_build_flags
+
+# Enable SSE2 on x86_64
+%ifarch x86_64
+CPPFLAGS+=" -DENABLE_SSE2"
+export CPPFLAGS
+%endif
+
%make_build -C source
# In order to build apps, we need to create the symlink
# Note that this is originally done at "make install" stage