The package rpms/python-astroscrappy.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-astroscrappy.git/commit/?i....
Change:
+%ifnarch s390x
Thanks.
Full change:
============
commit 008b61eea3062094149d6e38bb863425530d4051
Author: Christian Dersch <lupinix(a)fedoraproject.org>
Date: Sun Oct 27 13:35:50 2019 +0100
disable tests on s390x until endianess issue is fixed
diff --git a/python-astroscrappy.spec b/python-astroscrappy.spec
index c90ab43..852e3df 100644
--- a/python-astroscrappy.spec
+++ b/python-astroscrappy.spec
@@ -56,8 +56,9 @@ echo "cython_version = 'unknown'" >
astroscrappy/cython_version.py
%check
+%ifnarch s390x
%{__python3} setup.py test
-
+%endif
%files -n python3-%{srcname}
%license licenses/LICENSE.rst astropy_helpers/licenses/LICENSE_COPYBUTTON.rst
@@ -68,6 +69,7 @@ echo "cython_version = 'unknown'" >
astroscrappy/cython_version.py
* Sun Oct 20 2019 Christian Dersch <lupinix(a)fedoraproject.org> - 1.0.8-1
- new version
- remove patch (fixed upstream)
+- skip tests on s390x until endianess issue is fixed
* Thu Sep 12 2019 Mamoru TASAKA <mtasaka(a)fedoraproject.org> - 1.0.5-16
- Patch for astropy.tests.pytest_plugins error (bug 1746845)
commit 183c579bc63746426f129696e84ec405abbe3898
Author: Christian Dersch <lupinix(a)fedoraproject.org>
Date: Sun Oct 27 13:19:54 2019 +0100
remove patch astroscrappy-1.0.5-new-pytest.patch (fixed upstream)
diff --git a/astroscrappy-1.0.5-new-pytest.patch b/astroscrappy-1.0.5-new-pytest.patch
deleted file mode 100644
index 56749fc..0000000
--- a/astroscrappy-1.0.5-new-pytest.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -urp astroscrappy-1.0.5.orig/astroscrappy/conftest.py
astroscrappy-1.0.5/astroscrappy/conftest.py
---- astroscrappy-1.0.5.orig/astroscrappy/conftest.py 2016-08-17 08:16:34.000000000 +0900
-+++ astroscrappy-1.0.5/astroscrappy/conftest.py 2019-09-12 08:20:22.965323070 +0900
-@@ -4,7 +4,11 @@ import os
- # by importing them here in conftest.py they are discoverable by py.test
- # no matter how it is invoked within the source tree.
-
--from astropy.tests.pytest_plugins import *
-+try:
-+ from astropy.tests.plugins.display import *
-+ from astropy.tests.helper import *
-+except ImportError:
-+ from astropy.tests.pytest_plugins import *
-
- ## Uncomment the following line to treat all DeprecationWarnings as
- ## exceptions
-astroscrappy-1.0.5/astroscrappy ?????: conftest.py~
-diff -urp astroscrappy-1.0.5.orig/setup.cfg astroscrappy-1.0.5/setup.cfg
---- astroscrappy-1.0.5.orig/setup.cfg 2016-08-17 08:16:34.000000000 +0900
-+++ astroscrappy-1.0.5/setup.cfg 2019-09-12 08:21:04.238091216 +0900
-@@ -7,7 +7,7 @@ all_files = 1
- upload-dir = docs/_build/html
- show-response = 1
-
--[pytest]
-+[tool:pytest]
- minversion = 2.2
- norecursedirs = build docs/_build
- doctest_plus = enabled
-astroscrappy-1.0.5 ?????: setup.cfg~
diff --git a/python-astroscrappy.spec b/python-astroscrappy.spec
index 40c0235..c90ab43 100644
--- a/python-astroscrappy.spec
+++ b/python-astroscrappy.spec
@@ -21,9 +21,6 @@ License: BSD and ASL 2.0 and Python
#
URL:
https://pypi.python.org/pypi/%{srcname}
Source0:
https://files.pythonhosted.org/packages/source/a/%{srcname}/%{srcname}-%{...
-# See
https://bugzilla.redhat.com/show_bug.cgi?id=1746845
-#
https://github.com/spacetelescope/poppy/issues/289
-Patch0: astroscrappy-1.0.5-new-pytest.patch
BuildRequires: gcc
# Python 3 stuff
@@ -46,7 +43,6 @@ Requires: python3-astropy
%prep
%setup -q -n %{srcname}-%{version}
-%patch0 -p1
# Delete pre-cythonized files, we do that by ourself to use Fedora Cython
find . -name *.pyx -print0 | sed "s/pyx/c/g" | xargs -0 rm
# Force Cython re-run
@@ -71,6 +67,7 @@ echo "cython_version = 'unknown'" >
astroscrappy/cython_version.py
%changelog
* Sun Oct 20 2019 Christian Dersch <lupinix(a)fedoraproject.org> - 1.0.8-1
- new version
+- remove patch (fixed upstream)
* Thu Sep 12 2019 Mamoru TASAKA <mtasaka(a)fedoraproject.org> - 1.0.5-16
- Patch for astropy.tests.pytest_plugins error (bug 1746845)
commit 20a3a1ccd13bfff862211878d897a3997888af5a
Author: Christian Dersch <lupinix(a)fedoraproject.org>
Date: Sun Oct 20 15:04:28 2019 +0200
new version
diff --git a/.gitignore b/.gitignore
index 8b11d16..ebcf26b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/astroscrappy-1.0.5.tar.gz
+/astroscrappy-1.0.8.tar.gz
diff --git a/python-astroscrappy.spec b/python-astroscrappy.spec
index 4c383e9..40c0235 100644
--- a/python-astroscrappy.spec
+++ b/python-astroscrappy.spec
@@ -3,8 +3,8 @@
%global common_desc Astro-SCRAPPY is designed to detect cosmic rays in images (numpy
arrays).
Name: python-%{srcname}
-Version: 1.0.5
-Release: 16%{?dist}
+Version: 1.0.8
+Release: 1%{?dist}
Summary: %{sum}
License: BSD and ASL 2.0 and Python
@@ -69,6 +69,9 @@ echo "cython_version = 'unknown'" >
astroscrappy/cython_version.py
%{python3_sitearch}/*
%changelog
+* Sun Oct 20 2019 Christian Dersch <lupinix(a)fedoraproject.org> - 1.0.8-1
+- new version
+
* Thu Sep 12 2019 Mamoru TASAKA <mtasaka(a)fedoraproject.org> - 1.0.5-16
- Patch for astropy.tests.pytest_plugins error (bug 1746845)
diff --git a/sources b/sources
index 95ee998..7e585d5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e7ec5d829191226e6092b08e1d8f4cd4 astroscrappy-1.0.5.tar.gz
+SHA512 (astroscrappy-1.0.8.tar.gz) =
876ceb9596478930ebc9287657dcc6ff922a45daf56aa201255116247ca1a5029915292c189a5c740aed70093b050522c69186149ef721eda1669f7b5b3bd404