The package rpms/mpir.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/mpir.git/commit/?id=9640d6b323e3e....
Change:
+%ifnarch x86_64 %ix86
Thanks.
Full change:
============
commit 9640d6b323e3e2837f57c53f4697b2725999f6de
Author: Benjamin Beasley <code(a)musicinmybrain.net>
Date: Tue Dec 8 11:32:58 2020 -0500
Do not BR yasm on platforms where it is not used in the build
(
https://github.com/wbhart/mpir/issues/270)
diff --git a/mpir.spec b/mpir.spec
index 71a10be..e672795 100644
--- a/mpir.spec
+++ b/mpir.spec
@@ -8,7 +8,7 @@ Name: mpir
Version: 3.0.0
%global so_version_c 23
%global so_version_cxx 8
-Release: 13%{?dist}
+Release: 14%{?dist}
Summary: Highly optimised library for bignum arithmetic
@@ -42,7 +42,9 @@ BuildRequires: gnulib-devel
BuildRequires: make
BuildRequires: gcc
BuildRequires: m4
+%ifarch x86_64 %ix86
BuildRequires: yasm
+%endif
%global _hardened_build 1
@@ -124,6 +126,9 @@ MPN_PATH='generic'; export MPN_PATH
--disable-static \
%if 0%{?epel} > 7 || ! 0%{?epel}
--enable-fat \
+%endif
+%ifnarch x86_64 %ix86
+ --with-yasm=%{_bindir}/false \
%endif
--enable-cxx
@@ -206,6 +211,10 @@ env LD_LIBRARY_PATH="${PWD}/.libs" %make_build check
%changelog
+* Tue Dec 8 2020 Benjamin A. Beasley <code(a)musicinmybrain.net> - 3.0.0-14
+- Do not BR yasm on platforms where it is not used in the build
+ (
https://github.com/wbhart/mpir/issues/270)
+
* Tue Dec 8 2020 Benjamin A. Beasley <code(a)musicinmybrain.net> - 3.0.0-13
- Convert character encodings with a patch instead of a script; it turns out it
takes manual inspection to get this right