commit cpuset for openSUSE:Factory
Hello community, here is the log from the commit of package cpuset for openSUSE:Factory checked in at 2018-12-12 17:29:42 Comparing /work/SRC/openSUSE:Factory/cpuset (Old) and /work/SRC/openSUSE:Factory/.cpuset.new.28833 (New) Package is "cpuset" Wed Dec 12 17:29:42 2018 rev:31 rq:657255 version:1.6 Changes: --- /work/SRC/openSUSE:Factory/cpuset/cpuset.changes2018-12-11 15:49:32.678093056 +0100 +++ /work/SRC/openSUSE:Factory/.cpuset.new.28833/cpuset.changes 2018-12-12 17:29:46.710778595 +0100 @@ -1,0 +2,5 @@ +Tue Dec 11 10:59:55 UTC 2018 - Jan Engelhardt + +- Use noun phrase in summary. + +--- Other differences: -- ++ cpuset.spec ++ --- /var/tmp/diff_new_pack.UpVzp8/_old 2018-12-12 17:29:47.198777977 +0100 +++ /var/tmp/diff_new_pack.UpVzp8/_new 2018-12-12 17:29:47.202777973 +0100 @@ -13,7 +13,7 @@ # 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/ # @@ -30,7 +30,7 @@ Name: cpuset Version:1.6 Release:0 -Summary:Allows manipulation of cpusets on system and provides higher level functions +Summary:Cpuset manipulation tool License:GPL-2.0-only Group: System/Management Url:https://github.com/lpechacek/cpuset @@ -39,9 +39,9 @@ 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 +Cpuset is a Python application for using the cpuset facilities in +the Linux kernel. The actual included command is called cset +and allows manipulation of cpusets on the system, and provides higher level functions such as implementation and control of a basic CPU shielding setup.
commit cpuset for openSUSE:Factory
Hello community, here is the log from the commit of package cpuset for openSUSE:Factory checked in at 2018-12-11 15:49:30 Comparing /work/SRC/openSUSE:Factory/cpuset (Old) and /work/SRC/openSUSE:Factory/.cpuset.new.19453 (New) Package is "cpuset" Tue Dec 11 15:49:30 2018 rev:30 rq:657094 version:1.6 Changes: --- /work/SRC/openSUSE:Factory/cpuset/cpuset.changes2018-03-28 10:34:08.339094925 +0200 +++ /work/SRC/openSUSE:Factory/.cpuset.new.19453/cpuset.changes 2018-12-11 15:49:32.678093056 +0100 @@ -1,0 +2,5 @@ +Tue Dec 11 07:49:13 UTC 2018 - lpecha...@suse.com + +- Update to 6c46d71a1c6e, release v1.6 + +--- Old: v1.6pre1.tar.gz New: v1.6.tar.gz Other differences: -- ++ cpuset.spec ++ --- /var/tmp/diff_new_pack.BFgNwN/_old 2018-12-11 15:49:33.278092393 +0100 +++ /var/tmp/diff_new_pack.BFgNwN/_new 2018-12-11 15:49:33.278092393 +0100 @@ -17,7 +17,6 @@ # -%define realver 1.6pre1 %if 0%{?suse_version} < 1315 %define pyver python %else @@ -29,13 +28,13 @@ BuildArch: noarch %endif Name: cpuset -Version:1.6~pre1 +Version:1.6 Release:0 Summary:Allows manipulation of cpusets on system and provides higher level functions License:GPL-2.0-only Group: System/Management -URL:https://github.com/lpechacek/cpuset -Source: https://github.com/lpechacek/cpuset/archive/v%{realver}.tar.gz +Url:https://github.com/lpechacek/cpuset +Source: https://github.com/lpechacek/cpuset/archive/v%{version}.tar.gz BuildRequires: %{pyver}-setuptools Requires: %{pyver}-future @@ -47,7 +46,7 @@ shielding setup. %prep -%setup -q -n %{name}-%{realver} +%setup -q %build %{pyver} setup.py build @@ -68,7 +67,6 @@ install -m 0444 doc/*.html %{buildroot}/%{_defaultdocdir}/%{name}/html/ %files -%defattr(-,root,root) %doc %{_docdir}/%{name} %{_bindir}/cset %if 0%{?suse_version} < 1315 ++ v1.6pre1.tar.gz -> v1.6.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cpuset-1.6pre1/NEWS new/cpuset-1.6/NEWS --- old/cpuset-1.6pre1/NEWS 2018-02-08 08:34:29.0 +0100 +++ new/cpuset-1.6/NEWS 2018-12-10 17:34:12.0 +0100 @@ -1,4 +1,14 @@ +Cpuset 1.6 (December 10, 2018) +https://github.com/lpechacek/cpuset +http://download.opensuse.org/repositories/home:/LPechacek:/cpuset-release/ + +Update to 1.6 includes following changes: + +* Fixes for Python 2 compatibility +* Code compaction for improved maintainability + + Cpuset 1.6pre1 (February 8, 2018) https://github.com/lpechacek/cpuset http://download.opensuse.org/repositories/home:/LPechacek:/cpuset-release/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cpuset-1.6pre1/cpuset/commands/common.py new/cpuset-1.6/cpuset/commands/common.py --- old/cpuset-1.6pre1/cpuset/commands/common.py2018-02-08 08:34:29.0 +0100 +++ new/cpuset-1.6/cpuset/commands/common.py2018-12-10 17:34:12.0 +0100 @@ -1,8 +1,10 @@ """Common functions and variables for all commands """ +from __future__ import unicode_literals __copyright__ = """ Copyright (C) 2007-2010 Novell Inc. +Copyright (C) 2013-2018 SUSE Author: Alex Tsariounov This program is free software; you can redistribute it and/or modify diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cpuset-1.6pre1/cpuset/commands/mem.py new/cpuset-1.6/cpuset/commands/mem.py --- old/cpuset-1.6pre1/cpuset/commands/mem.py 2018-02-08 08:34:29.0 +0100 +++ new/cpuset-1.6/cpuset/commands/mem.py 2018-12-10 17:34:12.0 +0100 @@ -1,8 +1,10 @@ """Memory node manipulation command """ +from __future__ import unicode_literals __copyright__ = """ Copyright (C) 2007-2010 Novell Inc. +Copyright (C) 2013-2018 SUSE Author: Alex Tsariounov This program is free software; you can redistribute it and/or modify diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cpuset-1.6pre1/cpuset/commands/proc.py new/cpuset-1.6/cpuset/commands/proc.py --- old/cpuset-1.6pre1/cpuset/commands/proc.py 2018-02-08 08:34:29.0 +0100 +++ new/cpuset-1.6/cpuset/commands/proc.py 2018-12-10 17:34:12.0 +0100 @@ -1,11 +1,12 @@ """Process manipulation command """ +from __future__ import unicode_literals from builtins import str -from builtins import range +from future.utils import lrange __copyright__ = """ Copyright (C)
commit cpuset for openSUSE:Factory
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.changes2017-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 - tchva...@suse.com + +- 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 - lpecha...@suse.com + +- 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
commit cpuset for openSUSE:Factory
Hello community, here is the log from the commit of package cpuset for openSUSE:Factory checked in at 2017-04-06 11:02:03 Comparing /work/SRC/openSUSE:Factory/cpuset (Old) and /work/SRC/openSUSE:Factory/.cpuset.new (New) Package is "cpuset" Thu Apr 6 11:02:03 2017 rev:28 rq:482862 version:1.5.7 Changes: --- /work/SRC/openSUSE:Factory/cpuset/cpuset.changes2017-03-12 20:04:43.507600563 +0100 +++ /work/SRC/openSUSE:Factory/.cpuset.new/cpuset.changes 2017-04-06 11:02:04.552213989 +0200 @@ -1,0 +2,5 @@ +Fri Mar 24 08:11:36 UTC 2017 - lpecha...@suse.com + +- Fix SLE 11 build in Devel project + +--- Other differences: -- ++ cpuset.spec ++ --- /var/tmp/diff_new_pack.tpeHH6/_old 2017-04-06 11:02:05.132132027 +0200 +++ /var/tmp/diff_new_pack.tpeHH6/_new 2017-04-06 11:02:05.148129766 +0200 @@ -58,17 +58,18 @@ # Install documentation mkdir -p %{buildroot}/%{_mandir}/man1 -mkdir -p %{buildroot}/%{_defaultdocdir}/cpuset/html +mkdir -p %{buildroot}/%{_defaultdocdir}/%{name}/html -cp doc/*.1 %{buildroot}/%{_mandir}/man1 -cp doc/*.html %{buildroot}/%{_defaultdocdir}/cpuset/html/ +install -m 0444 doc/*.1 %{buildroot}/%{_mandir}/man1 + +install -m 0444 NEWS README AUTHORS COPYING cset.init.d doc/*.txt %{buildroot}/%{_defaultdocdir}/%{name} +install -m 0444 doc/*.html %{buildroot}/%{_defaultdocdir}/%{name}/html/ %files %defattr(-,root,root) -%doc NEWS README AUTHORS COPYING cset.init.d doc/*.txt +%doc %{_docdir}/%{name} %{_bindir}/cset %{python_sitelib}/* %{_mandir}/man1/* -%{_docdir}/%{name}/html %changelog
commit cpuset for openSUSE:Factory
Hello community, here is the log from the commit of package cpuset for openSUSE:Factory checked in at 2017-03-12 20:04:42 Comparing /work/SRC/openSUSE:Factory/cpuset (Old) and /work/SRC/openSUSE:Factory/.cpuset.new (New) Package is "cpuset" Sun Mar 12 20:04:42 2017 rev:27 rq:477964 version:1.5.7 Changes: --- /work/SRC/openSUSE:Factory/cpuset/cpuset.changes2016-01-15 10:41:59.0 +0100 +++ /work/SRC/openSUSE:Factory/.cpuset.new/cpuset.changes 2017-03-12 20:04:43.507600563 +0100 @@ -1,0 +2,6 @@ +Thu Mar 9 04:07:50 UTC 2017 - sfal...@opensuse.org + +- Edited %files to clear unpackaged files builderror in + openSUSE:Factory + +--- Other differences: -- ++ cpuset.spec ++ --- /var/tmp/diff_new_pack.nPWO0J/_old 2017-03-12 20:04:44.215500393 +0100 +++ /var/tmp/diff_new_pack.nPWO0J/_new 2017-03-12 20:04:44.219499827 +0100 @@ -1,7 +1,7 @@ # # spec file for package cpuset # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -69,5 +69,6 @@ %{_bindir}/cset %{python_sitelib}/* %{_mandir}/man1/* +%{_docdir}/%{name}/html %changelog
commit cpuset for openSUSE:Factory
Hello community, here is the log from the commit of package cpuset for openSUSE:Factory checked in at 2016-01-15 10:41:57 Comparing /work/SRC/openSUSE:Factory/cpuset (Old) and /work/SRC/openSUSE:Factory/.cpuset.new (New) Package is "cpuset" Changes: --- /work/SRC/openSUSE:Factory/cpuset/cpuset.changes2016-01-01 19:51:03.0 +0100 +++ /work/SRC/openSUSE:Factory/.cpuset.new/cpuset.changes 2016-01-15 10:41:59.0 +0100 @@ -1,0 +2,21 @@ +Wed Jan 13 18:39:38 UTC 2016 - idon...@suse.com + +- Cleanup spec file +- Use source url + +--- +Wed Jan 13 08:32:13 UTC 2016 - lpecha...@suse.com + +- Update to ae629aa1dc95, release 1.5.7 +- Deleted patches: + Docu-fix-asciidoc-build-error.patch + Docu-fixed-a-typo.patch + Docu-remove-mention-about-nonexistent-option.patch + Fix-crash-with-SCHED_IDLE-policy.patch + Fix-typo-in-setup-py.patch + Handle-unknown-scheduler-policy-codes-gracefully.patch + Parse-proc-pid-stat-properly.patch + Update-URLs-after-project-migration.patch + cset-make-it-handle-cgroup-mounts.patch + +--- Old: Docu-fix-asciidoc-build-error.patch Docu-fixed-a-typo.patch Docu-remove-mention-about-nonexistent-option.patch Fix-crash-with-SCHED_IDLE-policy.patch Fix-typo-in-setup-py.patch Handle-unknown-scheduler-policy-codes-gracefully.patch Parse-proc-pid-stat-properly.patch Update-URLs-after-project-migration.patch cpuset-1.5.6.tar.gz cset-make-it-handle-cgroup-mounts.patch New: v1.5.7.tar.gz Other differences: -- ++ cpuset.spec ++ --- /var/tmp/diff_new_pack.csMmlA/_old 2016-01-15 10:42:00.0 +0100 +++ /var/tmp/diff_new_pack.csMmlA/_new 2016-01-15 10:42:00.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package cpuset # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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,32 +17,24 @@ # +%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: cpuset -Version:1.5.6 +Version:1.5.7 Release:0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Url:https://github.com/lpechacek/cpuset Summary:Allows manipulation of cpusets on system and provides higher level functions License:GPL-2.0 Group: System/Management -Source: %{name}-%{version}.tar.gz -Patch0: cset-make-it-handle-cgroup-mounts.patch -Patch1: Fix-crash-with-SCHED_IDLE-policy.patch -Patch2: Handle-unknown-scheduler-policy-codes-gracefully.patch -Patch3: Parse-proc-pid-stat-properly.patch -Patch4: Docu-remove-mention-about-nonexistent-option.patch -Patch5: Docu-fix-asciidoc-build-error.patch -Patch6: Update-URLs-after-project-migration.patch -Patch7: Docu-fixed-a-typo.patch -Patch8: Fix-typo-in-setup-py.patch +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 -%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} - %description Cpuset is a Python application to make using the cpusets facilities in @@ -52,46 +44,30 @@ shielding setup. %prep -%setup -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 +%setup -q %build CFLAGS="%{optflags}" \ -%{__python} setup.py build +python 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 -%{__rm} -rf %{buildroot}/eraseme +python setup.py install --root=%{buildroot} --prefix=%{_prefix} --install-data=/eraseme +rm -rf %{buildroot}/eraseme # Install documentation -%{__mkdir_p} %{buildroot}/%{_defaultdocdir}/cpuset -%{__cp} NEWS README INSTALL AUTHORS COPYING cset.init.d %{buildroot}/%{_defaultdocdir}/cpuset/ -%{__mkdir_p} %{buildroot}/%{_mandir}/man1 -cd doc -%{__gzip} *.1 -%{__cp} *.1.gz %{buildroot}/%{_mandir}/man1 -%{__cp} *.txt %{buildroot}/%{_defaultdocdir}/cpuset/ -%{__mkdir}
commit cpuset for openSUSE:Factory
Hello community, here is the log from the commit of package cpuset for openSUSE:Factory checked in at 2016-01-01 19:48:36 Comparing /work/SRC/openSUSE:Factory/cpuset (Old) and /work/SRC/openSUSE:Factory/.cpuset.new (New) Package is "cpuset" Changes: --- /work/SRC/openSUSE:Factory/cpuset/cpuset.changes2014-06-01 19:41:45.0 +0200 +++ /work/SRC/openSUSE:Factory/.cpuset.new/cpuset.changes 2016-01-01 19:51:03.0 +0100 @@ -1,0 +2,20 @@ +Wed Dec 30 12:00:50 UTC 2015 - mgalbra...@suse.com + +- Remove obsolete 'Authors' section from cpuset.spec. + +--- +Tue Dec 29 07:41:24 UTC 2015 - mgalbra...@suse.com + +- Merge new cpuset upstream. Update URL, and add post v1.5.6 fixes. + +- New patches: + Fix-crash-with-SCHED_IDLE-policy.patch (bnc#959992) + Handle-unknown-scheduler-policy-codes-gracefully.patch (bnc#959992) + Parse-proc-pid-stat-properly.patch + Docu-remove-mention-about-nonexistent-option.patch (bnc#957323) + Docu-fix-asciidoc-build-error.patch + Update-URLs-after-project-migration.patch + Docu-fixed-a-typo.patch + Fix-typo-in-setup-py.patch + +--- New: Docu-fix-asciidoc-build-error.patch Docu-fixed-a-typo.patch Docu-remove-mention-about-nonexistent-option.patch Fix-crash-with-SCHED_IDLE-policy.patch Fix-typo-in-setup-py.patch Handle-unknown-scheduler-policy-codes-gracefully.patch Parse-proc-pid-stat-properly.patch Update-URLs-after-project-migration.patch Other differences: -- ++ cpuset.spec ++ --- /var/tmp/diff_new_pack.H80B8g/_old 2016-01-01 19:51:04.0 +0100 +++ /var/tmp/diff_new_pack.H80B8g/_new 2016-01-01 19:51:04.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package cpuset # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -21,19 +21,30 @@ Version:1.5.6 Release:0 BuildRoot: %{_tmppath}/%{name}-%{version}-build -Url:http://code.google.com/p/cpuset +Url:https://github.com/lpechacek/cpuset Summary:Allows manipulation of cpusets on system and provides higher level functions License:GPL-2.0 Group: System/Management Source: %{name}-%{version}.tar.gz Patch0: cset-make-it-handle-cgroup-mounts.patch +Patch1: Fix-crash-with-SCHED_IDLE-policy.patch +Patch2: Handle-unknown-scheduler-policy-codes-gracefully.patch +Patch3: Parse-proc-pid-stat-properly.patch +Patch4: Docu-remove-mention-about-nonexistent-option.patch +Patch5: Docu-fix-asciidoc-build-error.patch +Patch6: Update-URLs-after-project-migration.patch +Patch7: Docu-fixed-a-typo.patch +Patch8: Fix-typo-in-setup-py.patch BuildRequires: python-devel + %if 0%{?suse_version} > 0 %py_requires %endif + %{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %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 @@ -43,6 +54,14 @@ %prep %setup %patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 %build CFLAGS="%{optflags}" \ @@ -53,6 +72,7 @@ # Install binaries, but do not install docs via setup.py %{__python} setup.py install --root=%{buildroot} --prefix=%{_prefix} --install-data=/eraseme %{__rm} -rf %{buildroot}/eraseme + # Install documentation %{__mkdir_p} %{buildroot}/%{_defaultdocdir}/cpuset %{__cp} NEWS README INSTALL AUTHORS COPYING cset.init.d %{buildroot}/%{_defaultdocdir}/cpuset/ @@ -64,6 +84,9 @@ %{__mkdir} %{buildroot}/%{_defaultdocdir}/cpuset/html %{__cp} *.html %{buildroot}/%{_defaultdocdir}/cpuset/html/ +%clean +%{__rm} -rf %{buildroot} + %files %defattr(-,root,root) %{_bindir}/cset ++ Docu-fix-asciidoc-build-error.patch ++ >From 9fb11328779ec31bd7034b3a6099d8cfb4510be4 Mon Sep 17 00:00:00 2001 From: Libor PechacekDate: Wed, 23 Dec 2015 14:01:54 +0100 Subject: [PATCH] Docu: fix asciidoc build error References: Signed-off-by: Libor Pechacek Signed-off-by: Mike Galbraith --- doc/tutorial.txt |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/doc/tutorial.txt +++ b/doc/tutorial.txt @@ -1,5 +1,5 @@
commit cpuset for openSUSE:Factory
Hello community, here is the log from the commit of package cpuset for openSUSE:Factory checked in at 2014-06-01 19:41:25 Comparing /work/SRC/openSUSE:Factory/cpuset (Old) and /work/SRC/openSUSE:Factory/.cpuset.new (New) Package is cpuset Changes: --- /work/SRC/openSUSE:Factory/cpuset/cpuset.changes2011-09-23 01:54:11.0 +0200 +++ /work/SRC/openSUSE:Factory/.cpuset.new/cpuset.changes 2014-06-01 19:41:45.0 +0200 @@ -1,0 +2,13 @@ +Wed May 28 02:40:03 UTC 2014 - mgalbra...@suse.com + +- Explicitly state that the previous commit.. + + Make cset handle cgroup/cpuset mount types + +..added patch cset-make-it-handle-cgroup-mounts.patch +--- +Tue May 27 07:38:24 UTC 2014 - mgalbra...@suse.com + +- Make cset handle cgroup/cpuset mount types (SUSE bnc#625079, SUSE bnc#834223) + +--- New: cset-make-it-handle-cgroup-mounts.patch Other differences: -- ++ cpuset.spec ++ --- /var/tmp/diff_new_pack.KJ6vtN/_old 2014-06-01 19:41:47.0 +0200 +++ /var/tmp/diff_new_pack.KJ6vtN/_new 2014-06-01 19:41:47.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package cpuset # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2008-2011 Novell, Inc. Waltham, MA, USA # # All modifications and additions to the file contributed by third parties @@ -17,16 +17,16 @@ # - Name: cpuset Version:1.5.6 -Release:1 -License:GPL-2.0 +Release:0 BuildRoot: %{_tmppath}/%{name}-%{version}-build Url:http://code.google.com/p/cpuset -Group: System/Management Summary:Allows manipulation of cpusets on system and provides higher level functions +License:GPL-2.0 +Group: System/Management Source: %{name}-%{version}.tar.gz +Patch0: cset-make-it-handle-cgroup-mounts.patch BuildRequires: python-devel %if 0%{?suse_version} 0 %py_requires @@ -42,6 +42,7 @@ %prep %setup +%patch0 -p1 %build CFLAGS=%{optflags} \ ++ cset-make-it-handle-cgroup-mounts.patch ++ Subject: cset, make it handle cgroup mounts From: Mike Galbraith mgalbra...@suse.de Date: Wed Sep 4 08:09:38 CEST 2013 References: bnc#625079, bnc#834223 When cpuset has been mounted as a cgroup controller, files are prefixes with cpuset., leading to expected files not existing. Change cset's filename expectations depending on mount type. Signed-off-by: Mike Galbraith mgalbra...@suse.de --- cpuset/cset.py | 46 +++--- 1 file changed, 35 insertions(+), 11 deletions(-) --- a/cpuset/cset.py +++ b/cpuset/cset.py @@ -36,6 +36,11 @@ RootSet = None # a relative path from this basepath. sets = {} basepath = '' +cpus_path = '/cpus' +mems_path = '/mems' +cpu_exclusive_path = '/cpu_exclusive' +mem_exclusive_path = '/mem_exclusive' +tasks_path = '/tasks' def __init__(self, path=None): log.debug(initializing CpuSet) @@ -56,6 +61,14 @@ RootSet = None del CpuSet.sets CpuSet.sets = {} CpuSet.sets[self.path] = self + +# if mounted as a cgroup controller, switch file name format +if not os.access(path + CpuSet.cpus_path, os.F_OK): +CpuSet.cpus_path = '/cpuset.cpus' +CpuSet.mems_path = '/cpuset.mems' +CpuSet.cpu_exclusive_path = '/cpuset.cpu_exclusive' +CpuSet.mem_exclusive_path = '/cpuset.mem_exclusive' + # bottom-up search otherwise links will not exist log.debug(starting bottom-up discovery walk...) for dir, dirs, files in os.walk(path, topdown=False): @@ -104,7 +117,7 @@ RootSet = None log.debug(the cpuset %s already exists, skipping, path) self = CpuSet.sets[path] # questionable return -cpus = CpuSet.basepath + path + /cpus +cpus = CpuSet.basepath + path + CpuSet.cpus_path if not os.access(cpus, os.F_OK): # not a cpuset directory str = '%s is not a cpuset directory' % (CpuSet.basepath + path) @@ -118,6 +131,8 @@ RootSet = None log.debug(locating cpuset filesystem...) cpuset = re.compile(rnone (/.+) cpuset .+) cgroup = re.compile(rnone (/.+) cgroup .+) +cpuset1 = re.compile(rcpuset (/.+) cpuset .+) +cgroup1 = re.compile(rcgroup (/.+) cgroup .+) path = None f = file(/proc/mounts) for line in f:
commit cpuset for openSUSE:Factory
Hello community, here is the log from the commit of package cpuset for openSUSE:Factory checked in at 2011-12-06 18:04:21 Comparing /work/SRC/openSUSE:Factory/cpuset (Old) and /work/SRC/openSUSE:Factory/.cpuset.new (New) Package is cpuset, Maintainer is al...@novell.com Changes: Other differences: -- ++ cpuset.spec ++ --- /var/tmp/diff_new_pack.SPOzw4/_old 2011-12-06 18:06:57.0 +0100 +++ /var/tmp/diff_new_pack.SPOzw4/_new 2011-12-06 18:06:57.0 +0100 @@ -21,7 +21,7 @@ Name: cpuset Version:1.5.6 Release:1 -License:GPLv2 +License:GPL-2.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build Url:http://code.google.com/p/cpuset Group: System/Management -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit cpuset for openSUSE:Factory
Hello community, here is the log from the commit of package cpuset for openSUSE:Factory checked in at Mon Sep 19 21:07:35 CEST 2011. --- cpuset/cpuset.changes 2011-06-09 21:45:32.0 +0200 +++ /mounts/work_src_done/STABLE/cpuset/cpuset.changes 2011-09-18 01:57:02.0 +0200 @@ -1,0 +2,5 @@ +Sat Sep 17 23:56:58 UTC 2011 - jeng...@medozas.de + +- Remove redundant tags/sections from specfile + +--- calling whatdependson for head-i586 Other differences: -- ++ cpuset.spec ++ --- /var/tmp/diff_new_pack.gwe4nv/_old 2011-09-19 21:07:31.0 +0200 +++ /var/tmp/diff_new_pack.gwe4nv/_new 2011-09-19 21:07:31.0 +0200 @@ -16,7 +16,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: cpuset @@ -41,11 +40,6 @@ level functions such as implementation and control of a basic CPU shielding setup. - -Authors: - -Alex Tsariounov al...@novell.com - %prep %setup @@ -69,9 +63,6 @@ %{__mkdir} %{buildroot}/%{_defaultdocdir}/cpuset/html %{__cp} *.html %{buildroot}/%{_defaultdocdir}/cpuset/html/ -%clean -%{__rm} -rf %{buildroot} - %files %defattr(-,root,root) %{_bindir}/cset Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org