The package rpms/python-pyphi.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/python-pyphi.git/commit/?id=004e7....
Change:
+ExcludeArch: s390x
Thanks.
Full change:
============
commit 004e7a8f5927922f0ec2ad1e0855c81b240cc71c
Author: Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur(a)gmail.com>
Date: Sun Oct 3 19:05:08 2021 +0100
fix: ignore s390x where test fail because of endianness
https://github.com/wmayner/pyphi/issues/41
diff --git a/python-pyphi.spec b/python-pyphi.spec
index e187c4a..71de313 100644
--- a/python-pyphi.spec
+++ b/python-pyphi.spec
@@ -29,6 +29,9 @@ Patch0: 0001-fix-py3.10-correct-collections-import.patch
BuildRequires: git-core
BuildArch: noarch
+# Tests fails on s390x:
https://github.com/wmayner/pyphi/issues/41
+ExcludeArch: s390x
+
%description %_description
%package -n python3-pyphi
@@ -73,12 +76,8 @@ rm docs/_build/html/{.doctrees,.buildinfo} -vf
%check
%if %{with tests}
-# Tests fails on s390x:
https://github.com/wmayner/pyphi/issues/41
-# cannot use ifarch or %_arch or %_host_cpu: they're all related to build arch, which
is noarch here
-%if "%_target_cpu" != "s390x"
%{pytest}
%endif
-%endif
%files -n python3-pyphi -f %{pyproject_files}
%doc README.md CHANGELOG.md CACHING.rst redis.conf