Hello community,

here is the log from the commit of package python-py-cpuinfo for 
openSUSE:Factory checked in at 2017-05-03 15:54:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-py-cpuinfo (Old)
 and      /work/SRC/openSUSE:Factory/.python-py-cpuinfo.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-py-cpuinfo"

Wed May  3 15:54:27 2017 rev:2 rq:489378 version:3.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-py-cpuinfo/python-py-cpuinfo.changes      
2016-09-13 22:24:16.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-py-cpuinfo.new/python-py-cpuinfo.changes 
2017-05-03 15:54:28.731191732 +0200
@@ -1,0 +2,30 @@
+Wed Apr 19 15:46:57 UTC 2017 - [email protected]
+
+- Update to 3.1.0
+  * Fixed Bug #63: Include py-cpuinfo version in output
+  * Fixed Bug #29: Missing AVX2 CPU flag on OS X
+  * Fixed Bug #41: Broken on Odroid XU3 armhf ARM 32bit
+  * Fixed Bug #61: Not working on RHEL7.3 ppc64le
+  * Fixed Bug #56: Not working on Red Flag Linux ppc64le
+  * Fixed Bug #55: Not working on Fedora 24 ppc64le
+- Update to 3.0.0
+  * Change API to hide low level functions
+  * Fixed Bug #51: Combine data from all sources instead of picking one
+  * Fixed Bug #59: Not working on OS X 10.12 Sierra
+  * Fixed Bug #58: Change version number format
+  * Fixed Bug #60: Not working on ARM64 odroid-c2
+- Update to 0.2.7
+  * Fixed Bug #53: CPUID breaks test suite when SE Linux is on (Fedora 25)
+  * Fixed Bug #54: CPUID breaks when it returns nothing (Fedora 26)
+- Update to 0.2.6
+  * New release because pypi does not allow deleting broken uploads
+- Update to 0.2.5
+  * New release because pypi does not allow deleting broken uploads
+- Update to 0.2.4
+  * Fixed Bug #35: Add basic documentation
+  * Fixed Bug #36: Make test suite test real functions too
+  * Fixed Bug #38: get_cpu_info_from_cpuid breaks with Python3
+  * Fixed Bug #47: Include sysctl leaf7_features and extfeatures flags
+- Implement single-spec version
+
+-------------------------------------------------------------------

Old:
----
  py-cpuinfo-0.2.3.tar.gz

New:
----
  py-cpuinfo-3.1.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-py-cpuinfo.spec ++++++
--- /var/tmp/diff_new_pack.2iPYNY/_old  2017-05-03 15:54:29.655061305 +0200
+++ /var/tmp/diff_new_pack.2iPYNY/_new  2017-05-03 15:54:29.659060740 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-py-cpuinfo
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -16,20 +16,26 @@
 #
 
 
+%bcond_without tests
+
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-py-cpuinfo
-Version:        0.2.3
+Version:        3.1.0
 Release:        0
-Summary:        Get CPU info with pure Python 2 & 3
+Summary:        Get CPU info with pure Python
 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
-BuildRequires:  python-devel
-BuildRequires:  python-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
+%python_subpackages
 
 %description
 Py-cpuinfo gets CPU info with pure Python. Py-cpuinfo should work
@@ -54,31 +60,30 @@
 %setup -q -n py-cpuinfo-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 # Prepare for update-alternatives usage
-mkdir -p %{buildroot}%{_sysconfdir}/alternatives
-mv %{buildroot}%{_bindir}/cpuinfo %{buildroot}%{_bindir}/cpuinfo-%{py_ver}
-ln -s -f %{_sysconfdir}/alternatives/cpuinfo %{buildroot}%{_bindir}/cpuinfo
+%python_clone -a %{buildroot}%{_bindir}/cpuinfo
+
+%if %{with tests}
+%check
+%python_exec test_suite.py
+%endif
 
 %post
-%_sbindir/update-alternatives \
-   --install %{_bindir}/cpuinfo cpuinfo %{_bindir}/cpuinfo-%{py_ver} 30
+%python_install_alternative cpuinfo
 
 %preun
-if [ $1 -eq 0 ] ; then
-    %_sbindir/update-alternatives --remove cpuinfo %{_bindir}/cpuinfo-%{py_ver}
-fi
+%python_uninstall_alternative cpuinfo
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc README.rst LICENSE ChangeLog
-%{_bindir}/cpuinfo
-%{_bindir}/cpuinfo-%{py_ver}
-%ghost %{_sysconfdir}/alternatives/cpuinfo
+%python_alternative %{_bindir}/cpuinfo
 %{python_sitelib}/*
 
 %changelog

++++++ py-cpuinfo-0.2.3.tar.gz -> py-cpuinfo-3.1.0.tar.gz ++++++
++++ 8606 lines of diff (skipped)


Reply via email to