forked from pool/python-py-cpuinfo
Accepting request 659834 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/659834 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py-cpuinfo?expand=0&rev=3
This commit is contained in:
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 19 00:06:15 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Use noun phrase in summary. Trim build process from description.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 4 12:52:00 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Remove superfluous devel dependency for noarch package
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 19 15:46:57 UTC 2017 - toddrme2178@gmail.com
|
Wed Apr 19 15:46:57 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-py-cpuinfo
|
# spec file for package python-py-cpuinfo
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,38 +12,33 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%bcond_without tests
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%bcond_without tests
|
||||||
Name: python-py-cpuinfo
|
Name: python-py-cpuinfo
|
||||||
Version: 3.1.0
|
Version: 3.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Get CPU info with pure Python
|
Summary: Python library and tool to get CPU info
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/workhorsy/py-cpuinfo
|
URL: https://github.com/workhorsy/py-cpuinfo
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/py-cpuinfo/py-cpuinfo-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/py-cpuinfo/py-cpuinfo-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: %{python_module devel}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(preun): update-alternatives
|
Requires(preun): update-alternatives
|
||||||
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Py-cpuinfo gets CPU info with pure Python. Py-cpuinfo should work
|
Py-cpuinfo gets CPU info with pure Python. Py-cpuinfo should work
|
||||||
without any extra programs or libraries, beyond what your OS
|
without any extra programs or libraries, beyond what your OS
|
||||||
provides. It does not require any compilation(C/C++, assembly, et
|
provides. It supports Linux, OS X, Windows, BSD, Solaris,
|
||||||
cetera) to use. It works on Linux, OS X, Windows, BSD, Solaris,
|
Cygwin, Haiku, and BeagleBone, but only on x86 and some ARM CPUs.
|
||||||
Cygwin, Haiku, and BeagleBone. It currently only works on X86 and some
|
|
||||||
ARM CPUs.
|
|
||||||
|
|
||||||
These approaches are used for getting info:
|
These approaches are used for getting info:
|
||||||
1. Windows Registry (Windows)
|
1. Windows Registry (Windows)
|
||||||
@@ -81,8 +76,8 @@ These approaches are used for getting info:
|
|||||||
%python_uninstall_alternative cpuinfo
|
%python_uninstall_alternative cpuinfo
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE
|
||||||
%doc README.rst LICENSE ChangeLog
|
%doc README.rst ChangeLog
|
||||||
%python_alternative %{_bindir}/cpuinfo
|
%python_alternative %{_bindir}/cpuinfo
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user