The package rpms/python-numpy-stl.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-numpy-stl.git/commit/?id=4....
Change:
+%ifnarch armv7hl
Thanks.
Full change:
============
commit 4219577b60840c948fa0bc417ac23b9e0ea32097
Author: Miro Hronok <miro(a)hroncok.cz>
Date: Mon Dec 10 15:23:52 2018 +0100
Update to 2.8.0, fixes a long-standing bug with ASCII STL files
Fixes
https://bugzilla.redhat.com/show_bug.cgi?id=1589520
diff --git a/.gitignore b/.gitignore
index d19d78e..5bcbd35 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
/numpy-stl-2.4.1.tar.gz
/numpy-stl-v2.6.0.tar.xz
/numpy-stl-v2.7.0.tar.xz
+/numpy-stl-v2.8.0.tar.xz
diff --git a/python-numpy-stl.spec b/python-numpy-stl.spec
index ed8b0a9..60fcf66 100644
--- a/python-numpy-stl.spec
+++ b/python-numpy-stl.spec
@@ -1,7 +1,7 @@
%global pypi_name numpy-stl
Name: python-%{pypi_name}
-Version: 2.7.0
+Version: 2.8.0
Release: 1%{?dist}
Summary: Library for reading, writing and modifying STL files
@@ -20,6 +20,13 @@ BuildRequires: python3-setuptools
BuildRequires: python3-sphinx
BuildRequires: python3-utils >= 1.6.2
+%ifnarch armv7hl
+# the test is optional based on the presence of PyQt5
+# xvfb somehow fails on this arch
+BuildRequires: python3-PyQt5
+BuildRequires: /usr/bin/xvfb-run
+%endif
+
%?python_enable_dependency_generator
%description
@@ -53,6 +60,8 @@ rm -rf %{pypi_name}.egg-info
# Remove pytest config - it assumes coverage and is not otherwise needed
rm pytest.ini
+#
https://github.com/WoLpH/numpy-stl/pull/96
+sed -i 's/warnings.ImportWarning/ImportWarning/' tests/test_ascii.py
%build
%py3_build
@@ -66,7 +75,7 @@ rm -rf html/.{doctrees,buildinfo}
%check
-%{__python3} setup.py pytest
+%{__python3} setup.py pytest --addopts -v
%files -n python3-%{pypi_name}
@@ -82,6 +91,9 @@ rm -rf html/.{doctrees,buildinfo}
%doc html
%changelog
+* Mon Dec 10 2018 Miro Hronok <mhroncok(a)redhat.com> - 2.8.0-1
+- Update to 2.8.0, fixes a long-standing bug with ASCII STL files (#1589520)
+
* Wed Aug 01 2018 Miro Hronok <mhroncok(a)redhat.com> - 2.7.0-1
- Update to 2.7.0 (#1595001)
- Make doc subpackage noarch
diff --git a/sources b/sources
index ee52875..23e97ef 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (numpy-stl-v2.7.0.tar.xz) =
257216cbc94b5ba837a370351a284a1395101ae56b8a61db74379ab4204d3bca2cf3d8dff076d89f2a46ea6a1771c9c6dd54be6329d32e859486063be30ccb7c
+SHA512 (numpy-stl-v2.8.0.tar.xz) =
402b17393f6748ed8cc09994a038f49fe4dec31b6f06f824a9a26903bdf32941e6f15b7027a5449f1486f41aa91458e001f70ace00012ee52d74fb4c0c22b38a