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=15815bb….
Change:
+ExcludeArch: %{ix86} %{arm}
Thanks.
Full change:
============
commit 632644ad8743bf6b980c912f8731f807cdefd9c6
Author: Christian Dersch <lupinix(a)mailbox.org>
Date: Thu Jun 1 16:29:44 2017 +0200
noarch also means: no debuginfo
diff --git a/python-pymoc.spec b/python-pymoc.spec
index ee15e82..fe3fa12 100644
--- a/python-pymoc.spec
+++ b/python-pymoc.spec
@@ -7,6 +7,9 @@ the IVOA recommendation: FITS, JSON and ASCII.
PyMOC also includes a utility program pymoctool to allow MOC files to be \
manipulated from the command line.
+# Is a noarch package in reality, see below, therefore: no debuginfo
+%global debug_package %{nil}
+
Name: python-%{srcname}
Version: 0.5.0
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}-%{ve…
-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
commit 3e0a2f26efba83b2d541653bb34764e926ae81b0
Author: Christian Dersch <lupinix(a)mailbox.org>
Date: Thu Jun 1 15:32:20 2017 +0200
rebuilt
diff --git a/python-pymoc.spec b/python-pymoc.spec
index 38596a2..f72b184 100644
--- a/python-pymoc.spec
+++ b/python-pymoc.spec
@@ -7,9 +7,6 @@ the IVOA recommendation: FITS, JSON and ASCII.
PyMOC also includes a utility program pymoctool to allow MOC files to be \
manipulated from the command line.
-# We build a noarch package but force build on x86_64 (see below), therefore
-# we have to disable debuginfo explicitly
-%global debug_package %{nil}
Name: python-%{srcname}
Version: 0.5.0
@@ -20,9 +17,7 @@ License: GPLv3+
URL: https://pypi.python.org/pypi/%{srcname}
Source0: https://files.pythonhosted.org/packages/source/p/%{srcname}/%{srcname}-%{ve…
-# Force build on architecture supported by healpy, to be able to run *all* tests
-# Thus subpackages are noarch instead
-BuildArch: x86_64
+BuildArch: noarch
# Python2
BuildRequires: python2-astropy
BuildRequires: python2-devel
@@ -40,7 +35,6 @@ BuildRequires: python3-setuptools
%package -n python2-%{srcname}
Summary: %{sum}
-BuildArch: noarch
Requires: python2-astropy
Recommends: python2-healpy
%{?python_provide:%python_provide python2-%{srcname}}
@@ -51,7 +45,6 @@ Recommends: python2-healpy
%package -n python3-%{srcname}
Summary: %{sum}
-BuildArch: noarch
Requires: python3-astropy
Recommends: python3-healpy
%{?python_provide:%python_provide python3-%{srcname}}
@@ -96,8 +89,7 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m unittest discover
%changelog
* Thu Jun 01 2017 Christian Dersch <lupinix(a)mailbox.org> - 0.5.0-2
-- force build on 64 bit arch to run healpy tests too, make subpackages noarch
- instead
+- rebuilt
* Thu Jun 01 2017 Christian Dersch <lupinix(a)mailbox.org> - 0.5.0-1
- new version
commit 5cfdcf2699be320c6b51789515061c1370c41ce9
Author: Christian Dersch <lupinix(a)mailbox.org>
Date: Thu Jun 1 15:10:22 2017 +0200
no debuginfo on noarch
diff --git a/python-pymoc.spec b/python-pymoc.spec
index 93074cf..38596a2 100644
--- a/python-pymoc.spec
+++ b/python-pymoc.spec
@@ -7,6 +7,10 @@ the IVOA recommendation: FITS, JSON and ASCII.
PyMOC also includes a utility program pymoctool to allow MOC files to be \
manipulated from the command line.
+# We build a noarch package but force build on x86_64 (see below), therefore
+# we have to disable debuginfo explicitly
+%global debug_package %{nil}
+
Name: python-%{srcname}
Version: 0.5.0
Release: 2%{?dist}
commit 3a4910a275a2cf7390def7960a8f760748fd4715
Author: Christian Dersch <lupinix(a)mailbox.org>
Date: Thu Jun 1 15:01:53 2017 +0200
force build on 64 bit arch to run healpy tests too, make subpackages noarch instead
diff --git a/python-pymoc.spec b/python-pymoc.spec
index 100855e..93074cf 100644
--- a/python-pymoc.spec
+++ b/python-pymoc.spec
@@ -9,14 +9,16 @@ manipulated from the command line.
Name: python-%{srcname}
Version: 0.5.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: %{sum}
License: GPLv3+
URL: https://pypi.python.org/pypi/%{srcname}
Source0: https://files.pythonhosted.org/packages/source/p/%{srcname}/%{srcname}-%{ve…
-BuildArch: noarch
+# Force build on architecture supported by healpy, to be able to run *all* tests
+# Thus subpackages are noarch instead
+BuildArch: x86_64
# Python2
BuildRequires: python2-astropy
BuildRequires: python2-devel
@@ -34,6 +36,7 @@ BuildRequires: python3-setuptools
%package -n python2-%{srcname}
Summary: %{sum}
+BuildArch: noarch
Requires: python2-astropy
Recommends: python2-healpy
%{?python_provide:%python_provide python2-%{srcname}}
@@ -44,6 +47,7 @@ Recommends: python2-healpy
%package -n python3-%{srcname}
Summary: %{sum}
+BuildArch: noarch
Requires: python3-astropy
Recommends: python3-healpy
%{?python_provide:%python_provide python3-%{srcname}}
@@ -87,6 +91,10 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m unittest discover
%{_bindir}/pymoctool
%changelog
+* Thu Jun 01 2017 Christian Dersch <lupinix(a)mailbox.org> - 0.5.0-2
+- force build on 64 bit arch to run healpy tests too, make subpackages noarch
+ instead
+
* Thu Jun 01 2017 Christian Dersch <lupinix(a)mailbox.org> - 0.5.0-1
- new version
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=15815bb….
Change:
+ExcludeArch: %{ix86} %{arm}
Thanks.
Full change:
============
commit 632644ad8743bf6b980c912f8731f807cdefd9c6
Author: Christian Dersch <lupinix(a)mailbox.org>
Date: Thu Jun 1 16:29:44 2017 +0200
noarch also means: no debuginfo
diff --git a/python-pymoc.spec b/python-pymoc.spec
index ee15e82..fe3fa12 100644
--- a/python-pymoc.spec
+++ b/python-pymoc.spec
@@ -7,6 +7,9 @@ the IVOA recommendation: FITS, JSON and ASCII.
PyMOC also includes a utility program pymoctool to allow MOC files to be \
manipulated from the command line.
+# Is a noarch package in reality, see below, therefore: no debuginfo
+%global debug_package %{nil}
+
Name: python-%{srcname}
Version: 0.5.0
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}-%{ve…
-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
commit 3e0a2f26efba83b2d541653bb34764e926ae81b0
Author: Christian Dersch <lupinix(a)mailbox.org>
Date: Thu Jun 1 15:32:20 2017 +0200
rebuilt
diff --git a/python-pymoc.spec b/python-pymoc.spec
index 38596a2..f72b184 100644
--- a/python-pymoc.spec
+++ b/python-pymoc.spec
@@ -7,9 +7,6 @@ the IVOA recommendation: FITS, JSON and ASCII.
PyMOC also includes a utility program pymoctool to allow MOC files to be \
manipulated from the command line.
-# We build a noarch package but force build on x86_64 (see below), therefore
-# we have to disable debuginfo explicitly
-%global debug_package %{nil}
Name: python-%{srcname}
Version: 0.5.0
@@ -20,9 +17,7 @@ License: GPLv3+
URL: https://pypi.python.org/pypi/%{srcname}
Source0: https://files.pythonhosted.org/packages/source/p/%{srcname}/%{srcname}-%{ve…
-# Force build on architecture supported by healpy, to be able to run *all* tests
-# Thus subpackages are noarch instead
-BuildArch: x86_64
+BuildArch: noarch
# Python2
BuildRequires: python2-astropy
BuildRequires: python2-devel
@@ -40,7 +35,6 @@ BuildRequires: python3-setuptools
%package -n python2-%{srcname}
Summary: %{sum}
-BuildArch: noarch
Requires: python2-astropy
Recommends: python2-healpy
%{?python_provide:%python_provide python2-%{srcname}}
@@ -51,7 +45,6 @@ Recommends: python2-healpy
%package -n python3-%{srcname}
Summary: %{sum}
-BuildArch: noarch
Requires: python3-astropy
Recommends: python3-healpy
%{?python_provide:%python_provide python3-%{srcname}}
@@ -96,8 +89,7 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m unittest discover
%changelog
* Thu Jun 01 2017 Christian Dersch <lupinix(a)mailbox.org> - 0.5.0-2
-- force build on 64 bit arch to run healpy tests too, make subpackages noarch
- instead
+- rebuilt
* Thu Jun 01 2017 Christian Dersch <lupinix(a)mailbox.org> - 0.5.0-1
- new version
commit 5cfdcf2699be320c6b51789515061c1370c41ce9
Author: Christian Dersch <lupinix(a)mailbox.org>
Date: Thu Jun 1 15:10:22 2017 +0200
no debuginfo on noarch
diff --git a/python-pymoc.spec b/python-pymoc.spec
index 93074cf..38596a2 100644
--- a/python-pymoc.spec
+++ b/python-pymoc.spec
@@ -7,6 +7,10 @@ the IVOA recommendation: FITS, JSON and ASCII.
PyMOC also includes a utility program pymoctool to allow MOC files to be \
manipulated from the command line.
+# We build a noarch package but force build on x86_64 (see below), therefore
+# we have to disable debuginfo explicitly
+%global debug_package %{nil}
+
Name: python-%{srcname}
Version: 0.5.0
Release: 2%{?dist}
commit 3a4910a275a2cf7390def7960a8f760748fd4715
Author: Christian Dersch <lupinix(a)mailbox.org>
Date: Thu Jun 1 15:01:53 2017 +0200
force build on 64 bit arch to run healpy tests too, make subpackages noarch instead
diff --git a/python-pymoc.spec b/python-pymoc.spec
index 100855e..93074cf 100644
--- a/python-pymoc.spec
+++ b/python-pymoc.spec
@@ -9,14 +9,16 @@ manipulated from the command line.
Name: python-%{srcname}
Version: 0.5.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: %{sum}
License: GPLv3+
URL: https://pypi.python.org/pypi/%{srcname}
Source0: https://files.pythonhosted.org/packages/source/p/%{srcname}/%{srcname}-%{ve…
-BuildArch: noarch
+# Force build on architecture supported by healpy, to be able to run *all* tests
+# Thus subpackages are noarch instead
+BuildArch: x86_64
# Python2
BuildRequires: python2-astropy
BuildRequires: python2-devel
@@ -34,6 +36,7 @@ BuildRequires: python3-setuptools
%package -n python2-%{srcname}
Summary: %{sum}
+BuildArch: noarch
Requires: python2-astropy
Recommends: python2-healpy
%{?python_provide:%python_provide python2-%{srcname}}
@@ -44,6 +47,7 @@ Recommends: python2-healpy
%package -n python3-%{srcname}
Summary: %{sum}
+BuildArch: noarch
Requires: python3-astropy
Recommends: python3-healpy
%{?python_provide:%python_provide python3-%{srcname}}
@@ -87,6 +91,10 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m unittest discover
%{_bindir}/pymoctool
%changelog
+* Thu Jun 01 2017 Christian Dersch <lupinix(a)mailbox.org> - 0.5.0-2
+- force build on 64 bit arch to run healpy tests too, make subpackages noarch
+ instead
+
* Thu Jun 01 2017 Christian Dersch <lupinix(a)mailbox.org> - 0.5.0-1
- new version