diff --git a/.cvsignore b/.cvsignore index ce2a811..595b942 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -pygobject-2.15.2.tar.bz2 +pygobject-2.15.3.tar.bz2 diff --git a/pygobject-2.15.2-threads-init.patch b/pygobject-2.15.2-threads-init.patch index c892460..dfaa21d 100644 --- a/pygobject-2.15.2-threads-init.patch +++ b/pygobject-2.15.2-threads-init.patch @@ -1,32 +1,13 @@ -diff -up pygobject-2.15.2/glib/pyglib.c.thread-init pygobject-2.15.2/glib/pyglib.c -diff -up pygobject-2.15.2/gobject/gobjectmodule.c.thread-init pygobject-2.15.2/gobject/gobjectmodule.c ---- pygobject-2.15.2/gobject/gobjectmodule.c.thread-init 2008-07-26 06:21:44.000000000 -0400 -+++ pygobject-2.15.2/gobject/gobjectmodule.c 2008-08-07 15:06:01.000000000 -0400 -@@ -1944,6 +1944,18 @@ pyg_threads_init (PyObject *unused, PyOb - return Py_None; - } - -+/* Only for backwards compatibility */ -+int -+pygobject_enable_threads(void) -+{ -+ if (!pyglib_enable_threads()) -+ return -1; +diff -up pygobject-2.15.3/gobject/gobjectmodule.c.threads-init pygobject-2.15.3/gobject/gobjectmodule.c +--- pygobject-2.15.3/gobject/gobjectmodule.c.threads-init 2008-08-31 17:11:51.000000000 -0400 ++++ pygobject-2.15.3/gobject/gobjectmodule.c 2008-08-31 20:33:54.000000000 -0400 +@@ -1809,6 +1809,9 @@ pygobject_enable_threads(void) + { + if (!pyglib_enable_threads()) + return -1; + + pygobject_api_functions.threads_enabled = TRUE; + -+ return 0; -+} -+ - static PyObject * - pyg_signal_accumulator_true_handled(PyObject *unused, PyObject *args) - { -@@ -2639,7 +2648,7 @@ struct _PyGObject_Functions pygobject_ap - pyg_flags_from_gtype, + return 0; + } - FALSE, /* threads_enabled */ -- pyglib_enable_threads, -+ pygobject_enable_threads, - pygobject_gil_state_ensure, - pygobject_gil_state_release, - pyg_register_class_init, diff --git a/pygobject2.spec b/pygobject2.spec index c24d788..5100222 100644 --- a/pygobject2.spec +++ b/pygobject2.spec @@ -7,8 +7,8 @@ ### Abstract ### Name: pygobject2 -Version: 2.15.2 -Release: 3%{?dist} +Version: 2.15.3 +Release: 1%{?dist} License: LGPLv2+ Group: Development/Languages Summary: Python bindings for GObject @@ -116,6 +116,9 @@ rm -fr $RPM_BUILD_ROOT %{_datadir}/pygobject/xsl %changelog +* Sun Aug 31 2008 Matthew Barnes - 2.15.3-1.fc10 +- Update to 2.15.3 + * Tue Aug 12 2008 Matthew Barnes - 2.15.2-3.fc10 - Modify thread initialization patch to fix RH bug #458522. diff --git a/sources b/sources index 2c2d5da..48efa70 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -60bfabf036cbafb3a584b3c7beee05d1 pygobject-2.15.2.tar.bz2 +277e654c45746506455627a506dbb65c pygobject-2.15.3.tar.bz2