The package rpms/python-pymoc.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-pymoc.git/commit/?id=15815....
Change:
+ExcludeArch: %{ix86} %{arm}
Thanks.
Full change:
============
commit 15815bbb57fc33fc4d5606013deeea5f9851e059
Author: Christian Dersch <lupinix(a)mailbox.org>
Date: Thu Jun 1 15:42:42 2017 +0200
another attempt to fix build
diff --git a/python-pymoc.spec b/python-pymoc.spec
index f72b184..ee15e82 100644
--- a/python-pymoc.spec
+++ b/python-pymoc.spec
@@ -17,7 +17,13 @@ License: GPLv3+
URL:
https://pypi.python.org/pypi/%{srcname}
Source0:
https://files.pythonhosted.org/packages/source/p/%{srcname}/%{srcname}-%{...
-BuildArch: noarch
+# Cannot build as noarch because healpy does not support 32 bit architectures
+# and we need that to execute tests. At runtime healpy is optional though,
+# thereforce subpackages are noarch
+ExclusiveArch: aarch64 ppc64 ppc64le x86_64 s390x
+# Also explicitly exclude known unsupported architectures
+ExcludeArch: %{ix86} %{arm}
+
# Python2
BuildRequires: python2-astropy
BuildRequires: python2-devel
@@ -35,6 +41,7 @@ BuildRequires: python3-setuptools
%package -n python2-%{srcname}
Summary: %{sum}
+BuildArch: noarch
Requires: python2-astropy
Recommends: python2-healpy
%{?python_provide:%python_provide python2-%{srcname}}
@@ -45,6 +52,7 @@ Recommends: python2-healpy
%package -n python3-%{srcname}
Summary: %{sum}
+BuildArch: noarch
Requires: python3-astropy
Recommends: python3-healpy
%{?python_provide:%python_provide python3-%{srcname}}
@@ -89,7 +97,7 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m unittest
discover
%changelog
* Thu Jun 01 2017 Christian Dersch <lupinix(a)mailbox.org> - 0.5.0-2
-- rebuilt
+- have to make the package ExclusiveArch limited to healpy arches (to run tests)
* Thu Jun 01 2017 Christian Dersch <lupinix(a)mailbox.org> - 0.5.0-1
- new version