Hello community,
here is the log from the commit of package python-pydenticon for openSUSE:Factory checked in at 2019-06-12 13:14:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pydenticon (Old)
and /work/SRC/openSUSE:Factory/.python-pydenticon.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pydenticon"
Wed Jun 12 13:14:09 2019 rev:3 rq:708758 version:0.3.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pydenticon/python-pydenticon.changes 2019-06-01 09:45:47.863400119 +0200
+++ /work/SRC/openSUSE:Factory/.python-pydenticon.new.4811/python-pydenticon.changes 2019-06-12 13:14:13.220821638 +0200
@@ -1,0 +2,5 @@
+Sat Jun 8 11:28:18 UTC 2019 - Oliver Kurz
+
+- Disable tests on big endian arch due to https://github.com/azaghal/pydenticon/issues/10
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pydenticon.spec ++++++
--- /var/tmp/diff_new_pack.9A7lYe/_old 2019-06-12 13:14:13.832820997 +0200
+++ /var/tmp/diff_new_pack.9A7lYe/_new 2019-06-12 13:14:13.836820993 +0200
@@ -17,6 +17,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+# tests on big endian systems fail due to https://github.com/azaghal/pydenticon/issues/10 , disabled until fixed"
+# can not use "ifarch" when BuildArch is set to noarch
+%if %_arch == s390x || %_arch == s390x || %_arch == ppc || %_arch == ppc64
+%bcond_with test
+%else
+%bcond_without test
+%endif
%define modname pydenticon
Name: python-%{modname}
Version: 0.3.1
@@ -31,6 +38,7 @@
BuildRequires: %{python_module setuptools}
# SECTION test requirements
BuildRequires: %{python_module mock}
+BuildRequires: %{python_module pytest}
# /SECTION
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -66,7 +74,9 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}/%{modname}
%check
+%if %{with test}
%python_exec setup.py test
+%endif
%files %{python_files}
%defattr(-,root,root,-)