diff --git a/python-py-cpuinfo.changes b/python-py-cpuinfo.changes index 09cd7ad..060824d 100644 --- a/python-py-cpuinfo.changes +++ b/python-py-cpuinfo.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Dec 19 00:06:15 UTC 2018 - Jan Engelhardt + +- Use noun phrase in summary. Trim build process from description. + +------------------------------------------------------------------- +Tue Dec 4 12:52:00 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Wed Apr 19 15:46:57 UTC 2017 - toddrme2178@gmail.com diff --git a/python-py-cpuinfo.spec b/python-py-cpuinfo.spec index 9d5bde9..c449152 100644 --- a/python-py-cpuinfo.spec +++ b/python-py-cpuinfo.spec @@ -1,7 +1,7 @@ # # 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 # 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) # 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-%{**}} +%bcond_without tests Name: python-py-cpuinfo Version: 3.1.0 Release: 0 -Summary: Get CPU info with pure Python +Summary: Python library and tool to get CPU info License: MIT 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 +BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch Requires(post): update-alternatives Requires(preun): update-alternatives +BuildArch: noarch %python_subpackages %description Py-cpuinfo gets CPU info with pure Python. Py-cpuinfo should work without any extra programs or libraries, beyond what your OS -provides. It does not require any compilation(C/C++, assembly, et -cetera) to use. It works on Linux, OS X, Windows, BSD, Solaris, -Cygwin, Haiku, and BeagleBone. It currently only works on X86 and some -ARM CPUs. +provides. It supports Linux, OS X, Windows, BSD, Solaris, +Cygwin, Haiku, and BeagleBone, but only on x86 and some ARM CPUs. These approaches are used for getting info: 1. Windows Registry (Windows) @@ -81,8 +76,8 @@ These approaches are used for getting info: %python_uninstall_alternative cpuinfo %files %{python_files} -%defattr(-,root,root,-) -%doc README.rst LICENSE ChangeLog +%license LICENSE +%doc README.rst ChangeLog %python_alternative %{_bindir}/cpuinfo %{python_sitelib}/*