From 29e04adec632afa9dcead3e24382b8255340487d Mon Sep 17 00:00:00 2001
From: Bernhard M. Wiedemann <bwiedemann+opensusegit@suse.de>
Date: Mar 19 2020 19:16:23 +0000
Subject: Update python-pybluez to rev 19 via SR 786424


https://build.opensuse.org/request/show/786424
by user scarabeus_iv + dimstar_suse

---

diff --git a/.files b/.files
index abb07dc..3b07f10 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 2b8b14d..d9692e6 100644
--- a/.rev
+++ b/.rev
@@ -124,4 +124,12 @@
     <comment></comment>
     <requestid>591681</requestid>
   </revision>
+  <revision rev="19" vrev="1">
+    <srcmd5>9717f011f6c98be8f37affa1c856cf14</srcmd5>
+    <version>0.23</version>
+    <time>1584643911</time>
+    <user>dimstar_suse</user>
+    <comment></comment>
+    <requestid>786424</requestid>
+  </revision>
 </revisionlist>
diff --git a/0.22.tar.gz b/0.22.tar.gz
deleted file mode 120000
index 251bc1c..0000000
--- a/0.22.tar.gz
+++ /dev/null
@@ -1 +0,0 @@
-/ipfs/bafkreict3oebujtipeigfgc6d7327ptfe7g5tlzwo2rrmbbaui235y6hna
\ No newline at end of file
diff --git a/PyBluez-0.23.tar.gz b/PyBluez-0.23.tar.gz
new file mode 120000
index 0000000..201c2ef
--- /dev/null
+++ b/PyBluez-0.23.tar.gz
@@ -0,0 +1 @@
+/ipfs/bafkreigi6bgs46evd2vj3zegwtkjhalqj2euhufg43sy6vp4264fqluq3y
\ No newline at end of file
diff --git a/python-pybluez.changes b/python-pybluez.changes
index 01e5219..39ccbfd 100644
--- a/python-pybluez.changes
+++ b/python-pybluez.changes
@@ -1,4 +1,14 @@
 -------------------------------------------------------------------
+Thu Mar 19 10:59:22 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
+
+- Update to version 0.23
+  * Add missing family, type and proto properties to msbt socket backend
+  * Use feature detection instead of version detection
+  * Much more changes
+  * Last version which supports Python2
+- Modernize spec file a bit
+
+-------------------------------------------------------------------
 Tue Mar 27 14:42:04 UTC 2018 - mgorse@suse.com
 
 - Update to version 0.22:
diff --git a/python-pybluez.spec b/python-pybluez.spec
index eabfa0f..fb5cbf9 100644
--- a/python-pybluez.spec
+++ b/python-pybluez.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pybluez
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,25 +12,25 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pybluez
-Version:        0.22
+Version:        0.23
 Release:        0
 Summary:        A Python Bluetooth wrapper
 License:        GPL-2.0-or-later
 Group:          Development/Libraries/Python
-Url:            https://github.com/karulis/pybluez/
-Source:         https://github.com/karulis/pybluez/archive/%{version}.tar.gz
+URL:            https://pybluez.github.io/
+Source:         https://files.pythonhosted.org/packages/source/P/PyBluez/PyBluez-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  bluez-devel
 BuildRequires:  python-rpm-macros
-Obsoletes:      pybluez
-Provides:       pybluez
+Obsoletes:      pybluez < 0.22
+Provides:       pybluez = %{version}
 %python_subpackages
 
 %description
@@ -39,7 +39,7 @@ resources to allow Python developers to easily and quickly create
 Bluetooth applications.
 
 %prep
-%setup -q -n pybluez-%{version}
+%setup -q -n PyBluez-%{version}
 
 %build
 export CFLAGS="%{optflags} -fno-strict-aliasing"
@@ -48,9 +48,12 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
 %install
 %python_install
 
+#%%check
+# no tests on upstream
+
 %files %{python_files}
 %license COPYING
-%doc CHANGELOG README
+%doc CHANGELOG README.md
 %{python_sitearch}/bluetooth/
 %{python_sitearch}/PyBluez-%{version}-py*.egg-info