rpms/dbus-python/devel dbus-python-0.83.0-memleak.patch, NONE, 1.1 dbus-python.spec, 1.27, 1.28
Marco Pesenti Gritti
mpg at fedoraproject.org
Tue Sep 16 15:31:32 UTC 2008
- Previous message (by thread): rpms/jd/devel .cvsignore, 1.292, 1.293 jd.spec, 1.341, 1.342 sources, 1.293, 1.294
- Next message (by thread): rpms/dbus-python/F-9 dbus-python-0.83.0-memleak.patch, NONE, 1.1 dbus-python.spec, 1.26, 1.27
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mpg
Update of /cvs/pkgs/rpms/dbus-python/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31354
Modified Files:
dbus-python.spec
Added Files:
dbus-python-0.83.0-memleak.patch
Log Message:
* Tue Sep 16 2008 Marco Pesenti Gritti - 0.83.0-3
- Add patch for https://bugs.freedesktop.org/show_bug.cgi?id=17551
dbus-python-0.83.0-memleak.patch:
--- NEW FILE dbus-python-0.83.0-memleak.patch ---
--- dbus/connection.py.orig 2008-09-13 14:54:49.000000000 +0200
+++ dbus/connection.py 2008-09-13 14:55:01.000000000 +0200
@@ -484,7 +484,15 @@
deletions.append(match)
else:
new.append(match)
- by_member[signal_name] = new
+
+ if new:
+ by_member[signal_name] = new
+ else:
+ del by_member[signal_name]
+ if not by_member:
+ del by_interface[dbus_interface]
+ if not by_interface:
+ del self._signal_recipients_by_object_path[path]
finally:
self._signals_lock.release()
Index: dbus-python.spec
===================================================================
RCS file: /cvs/pkgs/rpms/dbus-python/devel/dbus-python.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- dbus-python.spec 5 Aug 2008 06:10:28 -0000 1.27
+++ dbus-python.spec 16 Sep 2008 15:31:02 -0000 1.28
@@ -7,7 +7,7 @@
Summary: D-Bus Python Bindings
Name: dbus-python
Version: 0.83.0
-Release: 2%{?dist}
+Release: 3%{?dist}
URL: http://www.freedesktop.org/software/dbus/
Source0: http://dbus.freedesktop.org/releases/dbus-python/%{name}-%{version}.tar.gz
@@ -18,6 +18,8 @@
BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
BuildRequires: python-devel
+Patch0: dbus-python-0.83.0-memleak.patch
+
%description
D-Bus python bindings for use with python programs.
@@ -35,6 +37,8 @@
%prep
%setup -q
+%patch0 -p0 -b .memleak
+
%build
%configure
@@ -75,6 +79,9 @@
%{_libdir}/pkgconfig/dbus-python.pc
%changelog
+* Tue Sep 16 2008 Marco Pesenti Gritti - 0.83.0-3
+- Add patch for https://bugs.freedesktop.org/show_bug.cgi?id=17551
+
* Tue Aug 05 2008 Huang Peng <phuang at redhat.com> - 0.83.0-2
- Update to 0.83.0.
- Previous message (by thread): rpms/jd/devel .cvsignore, 1.292, 1.293 jd.spec, 1.341, 1.342 sources, 1.293, 1.294
- Next message (by thread): rpms/dbus-python/F-9 dbus-python-0.83.0-memleak.patch, NONE, 1.1 dbus-python.spec, 1.26, 1.27
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list