Hello community,

here is the log from the commit of package cpuset for openSUSE:Factory checked 
in at 2018-03-28 10:34:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cpuset (Old)
 and      /work/SRC/openSUSE:Factory/.cpuset.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cpuset"

Wed Mar 28 10:34:04 2018 rev:29 rq:591739 version:1.6~pre1

Changes:
--------
--- /work/SRC/openSUSE:Factory/cpuset/cpuset.changes    2017-04-06 
11:02:04.552213989 +0200
+++ /work/SRC/openSUSE:Factory/.cpuset.new/cpuset.changes       2018-03-28 
10:34:08.339094925 +0200
@@ -1,0 +2,13 @@
+Tue Mar 27 19:15:20 UTC 2018 - [email protected]
+
+- Do not require -devel but use only setuptools module
+- Use ~ in version as without it the package is newer than
+  release 1.6
+- Reduce the compat py2/py3 choicer, SLE12 can be python3
+
+-------------------------------------------------------------------
+Thu Feb  8 07:50:25 UTC 2018 - [email protected]
+
+- Update to 02ef9e09e1da, release v1.6pre1 (bsc#1079868)
+
+-------------------------------------------------------------------

Old:
----
  v1.5.7.tar.gz

New:
----
  v1.6pre1.tar.gz

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

Other differences:
------------------
++++++ cpuset.spec ++++++
--- /var/tmp/diff_new_pack.D53BVU/_old  2018-03-28 10:34:08.975072049 +0200
+++ /var/tmp/diff_new_pack.D53BVU/_new  2018-03-28 10:34:08.979071906 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cpuset
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2008-2011 Novell, Inc. Waltham, MA, USA
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,26 +17,29 @@
 #
 
 
-%{!?python_sitelib: %define python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%define realver 1.6pre1
+%if 0%{?suse_version} < 1315
+%define pyver python
+%else
+%define pyver python3
+%endif
+%if 0%{?suse_version} && 0%{?suse_version} <= 1110
+%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%else
+BuildArch:      noarch
+%endif
 Name:           cpuset
-Version:        1.5.7
+Version:        1.6~pre1
 Release:        0
 Summary:        Allows manipulation of cpusets on system and provides higher 
level functions
-License:        GPL-2.0
+License:        GPL-2.0-only
 Group:          System/Management
-Url:            https://github.com/lpechacek/cpuset
-Source:         https://github.com/lpechacek/cpuset/archive/v%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%if 0%{?sles_version} != 11
-BuildArch:      noarch
-%endif
-%if 0%{?suse_version} > 0
-%py_requires
-%endif
+URL:            https://github.com/lpechacek/cpuset
+Source:         https://github.com/lpechacek/cpuset/archive/v%{realver}.tar.gz
+BuildRequires:  %{pyver}-setuptools
+Requires:       %{pyver}-future
 
 %description
-
 Cpuset is a Python application to make using the cpusets facilities in
 the Linux kernel easier.  The actual included command is called cset
 and it allows manipulation of cpusets on the system and provides higher
@@ -44,16 +47,15 @@
 shielding setup.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{realver}
 
 %build
-CFLAGS="%{optflags}" \
-python setup.py build
+%{pyver} setup.py build
 #make doc  ->not yet, asciidoc is missing...
 
 %install
 # Install binaries, but do not install docs via setup.py
-python setup.py install --root=%{buildroot} --prefix=%{_prefix} 
--install-data=/eraseme
+%{pyver} setup.py install --root=%{buildroot} --prefix=%{_prefix} 
--install-data=/eraseme
 rm -rf %{buildroot}/eraseme
 
 # Install documentation
@@ -69,7 +71,11 @@
 %defattr(-,root,root)
 %doc %{_docdir}/%{name}
 %{_bindir}/cset
+%if 0%{?suse_version} < 1315
 %{python_sitelib}/*
+%else
+%{python3_sitelib}/*
+%endif
 %{_mandir}/man1/*
 
 %changelog


Reply via email to