Hello community,

here is the log from the commit of package python-pybluez for openSUSE:Factory
checked in at Thu Aug 25 10:27:29 CEST 2011.



--------
--- python-pybluez/python-pybluez.changes       2010-04-20 14:44:27.000000000 
+0200
+++ /mounts/work_src_done/STABLE/python-pybluez/python-pybluez.changes  
2011-08-24 22:31:38.000000000 +0200
@@ -1,0 +2,5 @@
+Wed Aug 24 20:28:10 UTC 2011 - [email protected]
+
+- fix detection on linux3
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  python-pybluez-linux3-fix.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pybluez.spec ++++++
--- /var/tmp/diff_new_pack.En43YQ/_old  2011-08-25 10:26:53.000000000 +0200
+++ /var/tmp/diff_new_pack.En43YQ/_new  2011-08-25 10:26:53.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package python-pybluez (Version 0.18)
+# spec file for package python-pybluez
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 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
@@ -22,8 +22,9 @@
 BuildRequires:  bluez-devel python-devel
 Summary:        A Python Bluetooth wrapper
 Version:        0.18
-Release:        1
+Release:        7
 Source:         PyBluez-%{version}.tar.gz
+Patch1:         python-pybluez-linux3-fix.patch
 License:        GPLv2+
 Group:          Development/Libraries/Python
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -46,6 +47,7 @@
 
 %prep
 %setup -n PyBluez-%{version} -q
+%patch1 -p1
 
 %build
 CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" python setup.py build

++++++ python-pybluez-linux3-fix.patch ++++++
diff -u -r PyBluez-0.18.orig/bluetooth/__init__.py 
PyBluez-0.18/bluetooth/__init__.py
--- PyBluez-0.18.orig/bluetooth/__init__.py     2009-11-24 11:39:49.000000000 
+0300
+++ PyBluez-0.18/bluetooth/__init__.py  2011-08-22 23:00:31.000000000 +0400
@@ -30,7 +30,7 @@
         _dbg("Widcomm not ready. falling back to MS stack")
         from msbt import *
 
-elif sys.platform == "linux2":
+elif sys.platform == "linux2" or sys.platform == "linux3":
     from bluez import *
 elif sys.platform == "darwin":
     from osx import *
Только в PyBluez-0.18/bluetooth: __init__.py~

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to