OBS User unknown 2009-02-16 00:14:23 +00:00 committed by Git OBS Bridge
parent 4f03c302b4
commit c6dff6ef2d
4 changed files with 114 additions and 35 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3f97d2d7d7ab9e953d730d8abd3514cdf0b870c45f8931f1d07589e9fb7d9595
size 47710

3
cpuset-1.5.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:707dc4e39d4ceb9e0e9f9b58c0de025f8e8e837b9a2e766c52bdc0aa4c1fda7d
size 89237

View File

@ -1,3 +1,40 @@
-------------------------------------------------------------------
Sat Feb 7 18:39:46 MST 2009 - alext@suse.de
- 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@suse.de
- Updated spec file to build on many distros
-------------------------------------------------------------------
Wed Sep 3 00:55:34 CEST 2008 - alext@suse.de

View File

@ -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 @@ Authors:
%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@suse.de
* Sat Feb 07 2009 alext@suse.de
- 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@suse.de
- Updated spec file to build on many distros
* Tue Sep 02 2008 alext@suse.de
- Update to svn version 135, release 1.04
- Fixes bnc#422324 - Cset tool fails when cpu offlined
* Sat Jul 19 2008 alext@suse.de
* Fri Jul 18 2008 alext@suse.de
- 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@suse.de
* Tue Jun 10 2008 alext@suse.de
- Update to svn version 126, release 1.02
- Fix bug in new cpuset mount detection code
* Tue Jun 10 2008 alext@suse.de
@ -89,14 +131,14 @@ rm -rf $RPM_BUILD_ROOT
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@suse.de
* Fri May 30 2008 alext@suse.de
- Update to svn version 117, release 1.0
- Addition of man pages and html docs
* Fri May 09 2008 alext@suse.de
- Update to svn revision 104, release 0.9.1
- Fix bug #388958
- Add files README and COPYING to rpm
* Fri May 02 2008 alext@suse.de
* Thu May 01 2008 alext@suse.de
- 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 @@ rm -rf $RPM_BUILD_ROOT
- odd messages output from OS when incorrect cpusets commands
issued
- missing documentation: man pages and tutorial
* Fri Mar 21 2008 alext@suse.de
* Thu Mar 20 2008 alext@suse.de
- 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 @@ rm -rf $RPM_BUILD_ROOT
- 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@suse.de
* Fri Mar 14 2008 alext@suse.de
- 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 @@ rm -rf $RPM_BUILD_ROOT
- Update to svn version 89, release 0.3
- Incorporate feedback for shield supercommand from initial 0.2
release.
* Sat Feb 16 2008 alext@suse.de
* Fri Feb 15 2008 alext@suse.de
- 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@suse.de
- Remove error in abuild for including generic doc directory in
list of files
* Thu Jan 24 2008 alext@suse.de
* Wed Jan 23 2008 alext@suse.de
- Changed --record to --record-rpm to fix build.
* Wed Jan 16 2008 alext@suse.de
* Tue Jan 15 2008 alext@suse.de
- Initial submission to autobuild, pdb entry exists.
- Currently not functional, version set to 0.1.