rpms/pybluez/F-11 pybluez-0.16-btmodule.patch, NONE, 1.1 pybluez.spec, 1.6, 1.7 sources, 1.3, 1.4

Will Woods wwoods at fedoraproject.org
Fri Oct 9 13:30:00 UTC 2009


Author: wwoods

Update of /cvs/pkgs/rpms/pybluez/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29785

Modified Files:
	pybluez.spec sources 
Added Files:
	pybluez-0.16-btmodule.patch 
Log Message:
Update to 0.16, add patch for BZ#528123

pybluez-0.16-btmodule.patch:
 btmodule.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

--- NEW FILE pybluez-0.16-btmodule.patch ---
diff -udr PyBluez-0.16/bluez/btmodule.c PyBluez-0.16-working/bluez/btmodule.c
--- PyBluez-0.16/bluez/btmodule.c	2009-02-05 19:39:18.000000000 +0100
+++ PyBluez-0.16-working/bluez/btmodule.c	2009-06-20 02:18:54.000000000 +0200
@@ -679,7 +679,7 @@
 static PyObject *
 sock_bind(PySocketSockObject *s, PyObject *addro)
 {
-	struct sockaddr addr;
+	struct sockaddr addr = {0};
 	int addrlen;
 	int res;
 
@@ -770,7 +770,7 @@
 static PyObject *
 sock_connect(PySocketSockObject *s, PyObject *addro)
 {
-	struct sockaddr addr;
+	struct sockaddr addr = {0};
 	int addrlen;
 	int res;
 	int timeout;
@@ -805,7 +805,7 @@
 static PyObject *
 sock_connect_ex(PySocketSockObject *s, PyObject *addro)
 {
-	struct sockaddr addr;
+	struct sockaddr addr = {0};
 	int addrlen;
 	int res;
 	int timeout;
@@ -1193,7 +1193,7 @@
 {
 	PyObject *addro;
 	char *buf;
-	struct sockaddr addr;
+	struct sockaddr addr = {0};
 	int addrlen, len, n = 0, flags, timeout;
 
 	flags = 0;


Index: pybluez.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pybluez/F-11/pybluez.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- pybluez.spec	26 Feb 2009 19:45:52 -0000	1.6
+++ pybluez.spec	9 Oct 2009 13:30:00 -0000	1.7
@@ -1,14 +1,15 @@
 %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
 Name:           pybluez
-Version:        0.15
-Release:        4%{?dist}
+Version:        0.16
+Release:        2%{?dist}
 Summary:        Python API for the BlueZ bluetooth stack 
 
 Group:          Development/Languages
 License:        GPLv2
 URL:            http://code.google.com/p/pybluez/
-Source0:        http://pybluez.googlecode.com/files/PyBluez-0.15.tar.gz
+Source0:        http://pybluez.googlecode.com/files/PyBluez-%{version}.tar.gz
+Patch0:         pybluez-0.16-btmodule.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
                    
 BuildRequires:      python-devel bluez-libs-devel
@@ -20,6 +21,7 @@ applications.
 
 %prep
 %setup -q -n PyBluez-%{version}
+%patch0 -p1 -b .btmodule
 
 
 %build
@@ -43,6 +45,15 @@ rm -rf $RPM_BUILD_ROOT
 %{python_sitearch}/*
 
 %changelog
+* Wed Oct 08 2009 Paulo Roma <roma at lcg.ufrj.br> - 0.16-2
+- Applied btmodule patch.
+
+* Tue Jul 28 2009 Will Woods <wwoods at redhat.com> - 0.16-1
+- New (bugfix) release from upstream
+
+* Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.15-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
 * Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.15-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pybluez/F-11/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- sources	4 Jun 2008 18:02:29 -0000	1.3
+++ sources	9 Oct 2009 13:30:00 -0000	1.4
@@ -1 +1 @@
-104ad743d4bc999796ceff4f39d1003a  PyBluez-0.15.tar.gz
+2ce8ff0dbb94c6be14e92e9968f4c914  PyBluez-0.16.tar.gz




More information about the fedora-extras-commits mailing list