Mailinglist Archive: opensuse-commit (1116 mails)
| < Previous | Next > |
commit cpuset for openSUSE:Factory
- From: root@xxxxxxxxxxxxxxx (h_root)
- Date: Mon, 16 Feb 2009 01:14:21 +0100
- Message-id: <20090216001421.C9828678161@xxxxxxxxxxxxxxx>
Hello community,
here is the log from the commit of package cpuset for openSUSE:Factory
checked in at Mon Feb 16 01:14:21 CET 2009.
--------
--- cpuset/cpuset.changes 2008-09-03 00:56:35.000000000 +0200
+++ /mounts/work_src_done/STABLE/cpuset/cpuset.changes 2009-02-13
01:42:12.000000000 +0100
@@ -1,0 +2,37 @@
+Sat Feb 7 18:39:46 MST 2009 - alext@xxxxxxx
+
+- Update so svn 221, release 1.5.0
+- Fix bug #1: Origination cpuset not accepted for process move...
+- Fix bug #2: Proc move from set to set does not recognize...
+- Fix bug #3: Interspersed arguments do not work
+- Fix bug #4: Add policy and priority to proc output list
+- Fix bug #5: Add ability to move all threads in a process container wi.
+- Fix bug #6: The -a option for set listing should be the default
+- Fix bug #7: Add destination cpuset for the proc move command
+- Fix bug #8: Let leading slash for nested cpuset spec be optional
+- Fix bug #9: Rearrange info output some, include machine readable output
+- Fix bug #10: Add a recursive cpuset delete with option
+- Fix bug #11: Add a configuration file
+- Fix bug #12: Add hex mask output for cpuset definition spec (cpuspec)
+- Fix bug #13: Add cpuset rename option to set command
+- Fix bug #21: Create shield shortcuts
+- Changed behavior of shield command, now it behaves more like the proc move
+ command: -s or -u needs a -p to shield or unshield, however, the shortcut of
+ shield pidspec still works.
+- Fixed exception when using cset with pipes
+- Fixed set list behavior if --set was specified but not --list
+- Added error message if proc list command does not specify a set
+- Fixed exception if proc is used with -l and -s
+- Location for cpuset filesystem mount can be specified in config file
+- Changed proc option -a/--all to --force only
+- Updated copyrights, URLs and documentation
+- Added spec file to svn which is used in build service
+- Cleaned up status output for clarity and consistency
+- Additional minor corner case bug fixes included
+
+-------------------------------------------------------------------
+Thu Dec 4 11:49:30 MST 2008 - alext@xxxxxxx
+
+- Updated spec file to build on many distros
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
cpuset-1.04.tar.gz
New:
----
cpuset-1.5.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ cpuset.spec ++++++
--- /var/tmp/diff_new_pack.i26853/_old 2009-02-16 01:13:57.000000000 +0100
+++ /var/tmp/diff_new_pack.i26853/_new 2009-02-16 01:13:57.000000000 +0100
@@ -1,7 +1,8 @@
#
-# spec file for package cpuset (Version 1.04)
+# spec file for package cpuset (Version 1.5.0)
#
-# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2008-2009 Novell, Inc. Waltham, MA, USA
+# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,24 +20,26 @@
Name: cpuset
-Version: 1.04
+Version: 1.5.0
Release: 1
-Summary: Allows manipluation of cpusets on system and provides higher
level functions.
-Source: %{name}-%{version}.tar.gz
License: GPL v2 only
-Group: System/Management
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: http://developer.novell.com/wiki/index.php/Cpuset
+Group: System/Management
+Summary: Allows manipluation of cpusets on system and provides higher
level functions
+Source: %{name}-%{version}.tar.gz
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 system and provides higher
-level functions such as implementation and control of a basic cpu
-shielding setup. It is recommended that you run at least 2.6.22 for
-best results.
+level functions such as implementation and control of a basic CPU
+shielding setup.
@@ -48,39 +51,78 @@
%setup
%build
-python setup.py build
+CFLAGS="%{optflags}" \
+%{__python} setup.py build
#make doc ->not yet, asciidoc is missing...
%install
-python setup.py install --root=$RPM_BUILD_ROOT --prefix=%{_prefix}
-cd doc ; prefix=$RPM_BUILD_ROOT%{_mandir} make install ; cd ..
-for i in `( cd $RPM_BUILD_ROOT ; find * | sort )` ; do
- if ! test -d $RPM_BUILD_ROOT/$i ; then
- echo "/$i"
- fi
-done > %{_builddir}/%{name}.list
+# 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
%{buildroot}/%{_defaultdocdir}/cpuset/
+%{__mkdir_p} %{buildroot}/%{_mandir}/man1
+cd doc
+%{__gzip} *.1
+%{__cp} *.1.gz %{buildroot}/%{_mandir}/man1
+%{__cp} *.txt %{buildroot}/%{_defaultdocdir}/cpuset/
+%{__mkdir} %{buildroot}/%{_defaultdocdir}/cpuset/html
+%{__cp} *.html %{buildroot}/%{_defaultdocdir}/cpuset/html/
%clean
-rm -rf $RPM_BUILD_ROOT
+%{__rm} -rf %{buildroot}
-%files -f %{_builddir}/%{name}.list
+%files
%defattr(-,root,root)
-%dir %{py_sitedir}/cpuset
-%dir %{py_sitedir}/cpuset/commands
-%dir %{_defaultdocdir}/cpuset
+%{_bindir}/cset
+%{python_sitelib}/*
+%{_mandir}/man1/*
+%{_defaultdocdir}/*
%changelog
-* Wed Sep 03 2008 alext@xxxxxxx
+* Sat Feb 07 2009 alext@xxxxxxx
+- Update so svn 221, release 1.5.0
+- Fix bug #1: Origination cpuset not accepted for process move...
+- Fix bug #2: Proc move from set to set does not recognize...
+- Fix bug #3: Interspersed arguments do not work
+- Fix bug #4: Add policy and priority to proc output list
+- Fix bug #5: Add ability to move all threads in a process container wi.
+- Fix bug #6: The -a option for set listing should be the default
+- Fix bug #7: Add destination cpuset for the proc move command
+- Fix bug #8: Let leading slash for nested cpuset spec be optional
+- Fix bug #9: Rearrange info output some, include machine readable output
+- Fix bug #10: Add a recursive cpuset delete with option
+- Fix bug #11: Add a configuration file
+- Fix bug #12: Add hex mask output for cpuset definition spec (cpuspec)
+- Fix bug #13: Add cpuset rename option to set command
+- Fix bug #21: Create shield shortcuts
+- Changed behavior of shield command, now it behaves more like the proc move
+ command: -s or -u needs a -p to shield or unshield, however, the shortcut of
+ shield pidspec still works.
+- Fixed exception when using cset with pipes
+- Fixed set list behavior if --set was specified but not --list
+- Added error message if proc list command does not specify a set
+- Fixed exception if proc is used with -l and -s
+- Location for cpuset filesystem mount can be specified in config file
+- Changed proc option -a/--all to --force only
+- Updated copyrights, URLs and documentation
+- Added spec file to svn which is used in build service
+- Cleaned up status output for clarity and consistency
+- Additional minor corner case bug fixes included
+* Thu Dec 04 2008 alext@xxxxxxx
+- Updated spec file to build on many distros
+* Tue Sep 02 2008 alext@xxxxxxx
- Update to svn version 135, release 1.04
- Fixes bnc#422324 - Cset tool fails when cpu offlined
-* Sat Jul 19 2008 alext@xxxxxxx
+* Fri Jul 18 2008 alext@xxxxxxx
- Update to svn version 133, release 1.03
- Remove class variable CpuSet.sets dictionary when CpuSet object
(re)initialized. If you use cset as a library, then since the
class var did not get zeroed out, old sets were found on
cset.rescan() which broke the data structure.
- Fixes bnc#410636
-* Wed Jun 11 2008 alext@xxxxxxx
+* Tue Jun 10 2008 alext@xxxxxxx
- Update to svn version 126, release 1.02
- Fix bug in new cpuset mount detection code
* Tue Jun 10 2008 alext@xxxxxxx
@@ -89,14 +131,14 @@
mounted if running control groups (cgroups)
- Remove need to mount cpuset filesystem if only executing help
- Fix traceback if giving list of sets to list procs command
-* Sat May 31 2008 alext@xxxxxxx
+* Fri May 30 2008 alext@xxxxxxx
- Update to svn version 117, release 1.0
- Addition of man pages and html docs
* Fri May 09 2008 alext@xxxxxxx
- Update to svn revision 104, release 0.9.1
- Fix bug #388958
- Add files README and COPYING to rpm
-* Fri May 02 2008 alext@xxxxxxx
+* Thu May 01 2008 alext@xxxxxxx
- Update to svn version 102, release 0.9
- Added -k/--kthread to proc move command to move kernel threads
- Kernel threads are not moved automatically for generic move
@@ -126,7 +168,7 @@
- odd messages output from OS when incorrect cpusets commands
issued
- missing documentation: man pages and tutorial
-* Fri Mar 21 2008 alext@xxxxxxx
+* Thu Mar 20 2008 alext@xxxxxxx
- Update to svn version 127, release 0.6
- Added --user/--group for exec options for the shield and proc
commands. Cset still needs to be root in order to manipulate
@@ -142,7 +184,7 @@
- Update to svn version 116, release 0.5
- Fixes to cset/proc command for moving tasks.
- More cset/set code, but set still not 100%%.
-* Sat Mar 15 2008 alext@xxxxxxx
+* Fri Mar 14 2008 alext@xxxxxxx
- Update to svn version 109, release 0.4
- The proc command is fully functional. The set command has
documentation and revised options. The mem command has been
@@ -151,15 +193,15 @@
- Update to svn version 89, release 0.3
- Incorporate feedback for shield supercommand from initial 0.2
release.
-* Sat Feb 16 2008 alext@xxxxxxx
+* Fri Feb 15 2008 alext@xxxxxxx
- Update to version 0.2, svn version 77.
- The shield supercommand is fully functional. Other commands are
not yet implemented.
* Thu Jan 24 2008 alext@xxxxxxx
- Remove error in abuild for including generic doc directory in
list of files
-* Thu Jan 24 2008 alext@xxxxxxx
+* Wed Jan 23 2008 alext@xxxxxxx
- Changed --record to --record-rpm to fix build.
-* Wed Jan 16 2008 alext@xxxxxxx
+* Tue Jan 15 2008 alext@xxxxxxx
- Initial submission to autobuild, pdb entry exists.
- Currently not functional, version set to 0.1.
++++++ cpuset-1.04.tar.gz -> cpuset-1.5.0.tar.gz ++++++
++++ 9005 lines of diff (skipped)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |