Hello community, here is the log from the commit of package python-py-cpuinfo for openSUSE:Factory checked in at 2019-02-08 13:47:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-py-cpuinfo (Old) and /work/SRC/openSUSE:Factory/.python-py-cpuinfo.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-py-cpuinfo" Fri Feb 8 13:47:42 2019 rev:4 rq:671966 version:3.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-py-cpuinfo/python-py-cpuinfo.changes 2018-12-24 11:46:30.333180526 +0100 +++ /work/SRC/openSUSE:Factory/.python-py-cpuinfo.new.28833/python-py-cpuinfo.changes 2019-02-08 13:47:43.858791793 +0100 @@ -1,0 +2,5 @@ +Mon Feb 4 16:31:12 UTC 2019 - schwab@suse.de + +- remove-arch-check.patch: disable arch check that breaks the testsuite + +------------------------------------------------------------------- New: ---- remove-arch-check.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-py-cpuinfo.spec ++++++ --- /var/tmp/diff_new_pack.DZExh5/_old 2019-02-08 13:47:44.598791562 +0100 +++ /var/tmp/diff_new_pack.DZExh5/_new 2019-02-08 13:47:44.602791561 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-py-cpuinfo # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,6 +26,7 @@ Group: Development/Languages/Python URL: https://github.com/workhorsy/py-cpuinfo Source: https://files.pythonhosted.org/packages/source/p/py-cpuinfo/py-cpuinfo-%{version}.tar.gz +Patch: remove-arch-check.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -53,6 +54,7 @@ %prep %setup -q -n py-cpuinfo-%{version} +%patch -p1 %build %python_build ++++++ remove-arch-check.patch ++++++ Index: py-cpuinfo-3.1.0/cpuinfo/cpuinfo.py =================================================================== --- py-cpuinfo-3.1.0.orig/cpuinfo/cpuinfo.py +++ py-cpuinfo-3.1.0/cpuinfo/cpuinfo.py @@ -1783,6 +1783,7 @@ def get_cpu_info(): # Make sure we are running on a supported system def _check_arch(): + return arch, bits = parse_arch(DataSource.raw_arch_string) if not arch in ['X86_32', 'X86_64', 'ARM_7', 'ARM_8', 'PPC_64']: raise Exception("py-cpuinfo currently only works on X86 and some PPC and ARM CPUs.")