[packages/python-py-cpuinfo] - updated to 5.0.0

qboosh qboosh at pld-linux.org
Tue Jan 21 21:07:42 CET 2020


commit ff1159f44b49041b0c896f1883da79ede983c4a7
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Jan 21 21:07:52 2020 +0100

    - updated to 5.0.0

 python-py-cpuinfo.spec | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)
---
diff --git a/python-py-cpuinfo.spec b/python-py-cpuinfo.spec
index 45f0a02..46c3172 100644
--- a/python-py-cpuinfo.spec
+++ b/python-py-cpuinfo.spec
@@ -7,13 +7,13 @@
 Summary:	Get CPU info with pure Python 2
 Summary(pl.UTF-8):	Pobieranie informacji o CPU w czystym Pythonie 2
 Name:		python-py-cpuinfo
-Version:	4.0.0
-Release:	2
+Version:	5.0.0
+Release:	1
 License:	MIT
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/py-cpuinfo/
 Source0:	https://files.pythonhosted.org/packages/source/p/py-cpuinfo/py-cpuinfo-%{version}.tar.gz
-# Source0-md5:	05d52a5e6865a06b44b4ce27031a4028
+# Source0-md5:	2c1dff2af1f3ae6ea646eadf395092b7
 URL:		https://github.com/workhorsy/py-cpuinfo
 %if %{with python2}
 BuildRequires:	python-modules >= 1:2.7
@@ -64,11 +64,19 @@ asemblera itp.). Działa z Pythonem 2 i 3.
 
 %build
 %if %{with python2}
-%py_build %{?with_tests:test}
+%py_build
+
+%if %{with tests}
+%{__python} test_suite.py
+%endif
 %endif
 
 %if %{with python3}
-%py3_build %{?with_tests:test}
+%py3_build
+
+%if %{with tests}
+%{__python3} test_suite.py
+%endif
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-py-cpuinfo.git/commitdiff/ff1159f44b49041b0c896f1883da79ede983c4a7



More information about the pld-cvs-commit mailing list