diff --git a/py-cpuinfo-3.1.0.tar.gz b/py-cpuinfo-3.1.0.tar.gz deleted file mode 100644 index 4914730..0000000 --- a/py-cpuinfo-3.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b711b1257adb9cb9c820f79a7e15e410e3be8bcd26de177af9bdc00ea6dc882c -size 75851 diff --git a/py-cpuinfo-5.0.0.tar.gz b/py-cpuinfo-5.0.0.tar.gz new file mode 100644 index 0000000..baaa041 --- /dev/null +++ b/py-cpuinfo-5.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2cf6426f776625b21d1db8397d3297ef7acfa59018f02a8779123f3190f18500 +size 82118 diff --git a/python-py-cpuinfo.changes b/python-py-cpuinfo.changes index d85448c..8d04f3a 100644 --- a/python-py-cpuinfo.changes +++ b/python-py-cpuinfo.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Wed May 22 13:40:11 UTC 2019 - Marketa Calabkova + +- update to version 5.0.0 + * Fixed Bug #117: Remove PyInstaller hacks + * Fixed Bug #108: Client script runs multiple times without __main__ + * Fixed Bug #113: Add option to return results in json + * Fixed Bug #110: Always tries to run wmic in get_system_info.py + v4.0.0 + * Fixed Bug #80: Broken when using Pyinstaller + * Fixed Bug #77: Get L1, L2, and L3 cache info from lscpu + * Fixed Bug #79: Byte formats are inconsistent + * Fixed Bug #81: Byte formatter breaks on non strings + * Fixed Bug #95: Include if Python is 32 or 64 bit in get_system_info + * Fixed Bug #87: lscpu gets brand field twice + * Fixed Bug #96: Include Python version in output + * Fixed Bug #85: CPUID HZ measurement is scaled wrong + * Fixed Bug #100: Officially drop support for Python 2.6 + * Fixed Bug #101: Made it only check the dmesg boot log on Linux + v3.3.0 + * Fixed Bug #72: Fails to parse invalid CPUID result. +- removed remove-arch-check.patch -- testsuite runs + ------------------------------------------------------------------- Mon Feb 4 16:31:12 UTC 2019 - schwab@suse.de diff --git a/python-py-cpuinfo.spec b/python-py-cpuinfo.spec index 73aae3a..a6b8a00 100644 --- a/python-py-cpuinfo.spec +++ b/python-py-cpuinfo.spec @@ -19,14 +19,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without tests Name: python-py-cpuinfo -Version: 3.1.0 +Version: 5.0.0 Release: 0 Summary: Python library and tool to get CPU info License: MIT 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 @@ -54,7 +53,6 @@ These approaches are used for getting info: %prep %setup -q -n py-cpuinfo-%{version} -%patch -p1 %build %python_build diff --git a/remove-arch-check.patch b/remove-arch-check.patch deleted file mode 100644 index bf0e378..0000000 --- a/remove-arch-check.patch +++ /dev/null @@ -1,12 +0,0 @@ -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.")