0.4

Add ChangeLog file

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
diff --git a/ChangeLog b/ChangeLog
new file mode 100644
index 0000000..073dc6e
--- /dev/null
+++ b/ChangeLog
@@ -0,0 +1,20 @@
+v0.4:
+
+[acme@mica python-schedutils]$ git log v0.2.. --format=oneline --abbrev-commit
+1568357 Fix cpusetsize parameter in sched_setaffinity call
+28a2f17 Support SCHED_IDLE in schedfromstr
+ac29a2e Use PyErr_SetFromErrno return value
+f09bae5 Fix leak on setaffinity error path
+76269f0 Don't set the error string twice
+80ce42f Don't limit looking for CPUs at 1024
+028a3af Use PyErr_NoMemory when CPU_ALLOC fails
+36e377d CPU_ALLOC macros are not present in older systems
+6b9f411 sched_setaffinity expects a cpu_set_t pointer, not a ptr to a pointer
+741697a Dinamically size the cpu_set_t objects
+4f3b33c Support SCHED_RESET_ON_FORK policy flag
+66a2327 Add SCHED_IDLE to the list of constants exported
+4e05f75 Methods should raise OSError exceptions
+d3aead2 schedutils: Older kernels don't have SCHED_BATCH defined
+c162a1e Merge branch 'master' of ssh://master.kernel.org/pub/scm/linux/kernel/git/acme/python-schedutils
+fb72c8e Makefile: fixup version gathering
+10f78ff rpm: Fixed %build and %install sections, part of fedora review
diff --git a/rpm/SPECS/python-schedutils.spec b/rpm/SPECS/python-schedutils.spec
index 0fa80ae..2474958 100644
--- a/rpm/SPECS/python-schedutils.spec
+++ b/rpm/SPECS/python-schedutils.spec
@@ -3,8 +3,8 @@
 
 Summary: Linux scheduler python bindings
 Name: python-schedutils
-Version: 0.2
-Release: 2%{?dist}
+Version: 0.4
+Release: 1%{?dist}
 License: GPLv2
 URL: http://git.kernel.org/?p=linux/kernel/git/acme/python-schedutils.git
 Source: http://userweb.kernel.org/~acme/python-schedutils/%{name}-%{version}.tar.bz2
@@ -43,6 +43,12 @@
 %endif
 
 %changelog
+* Mon Aug  1 2011 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.4-1
+- New upstream release.
+
+* Tue May 17 2011 Clark Williams <williams@redhat.com> - 0.3-1
+- reworked get_affinity() and set_affinity() to use dynamic CPU_* macros
+
 * Thu Aug 28 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.2-2
 - Fix build and install sections as suggested by the fedora rewiewer
   (BZ #460387)
diff --git a/setup.py b/setup.py
index 74f2ab7..e3018d2 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@
 
 # don't reformat this line, Makefile parses it
 setup(name='schedutils',
-      version='0.1',
+      version='0.4',
       description='Python module to interface with the Linux scheduler',
       author='Arnaldo Carvalho de Melo',
       author_email='acme@redhat.com',