From 4f8ba18f61557f78022698e72e5a1400e8cb515d Mon Sep 17 00:00:00 2001
From: mcalabkova <>
Date: Jun 04 2025 19:09:39 +0000
Subject: Update python-pybluez to version 0.23+git5096047f90a1f6a74ceb250aef6243e144170f92 / rev 22 via SR 1282613
https://build.opensuse.org/request/show/1282613
by user mcalabkova + dimstar_suse
- Convert to pip-based build
---
diff --git a/.files b/.files
index cdd41b1..032d85c 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 0dc0b02..ca99405 100644
--- a/.rev
+++ b/.rev
@@ -151,4 +151,12 @@
1101024
+
+ 94f127215acec21b9f5dbb57cc219c48
+ 0.23+git5096047f90a1f6a74ceb250aef6243e144170f92
+
+ dimstar_suse
+ - Convert to pip-based build
+ 1282613
+
diff --git a/python-pybluez.changes b/python-pybluez.changes
index 54d4e44..8863a17 100644
--- a/python-pybluez.changes
+++ b/python-pybluez.changes
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Wed Jun 4 09:01:21 UTC 2025 - Markéta Machová
+
+- Convert to pip-based build
+
+-------------------------------------------------------------------
Thu Jul 27 08:26:16 UTC 2023 - ecsos
- Add %{?sle15_python_module_pythons}
diff --git a/python-pybluez.spec b/python-pybluez.spec
index fb41c2a..aff454a 100644
--- a/python-pybluez.spec
+++ b/python-pybluez.spec
@@ -1,7 +1,7 @@
#
# spec file for package python-pybluez
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,6 +17,7 @@
%define rev 5096047f90a1f6a74ceb250aef6243e144170f92
+%define pkg_version 0.30
%{?sle15_python_module_pythons}
Name: python-pybluez
Version: 0.23+git%{rev}
@@ -27,7 +28,9 @@ Group: Development/Libraries/Python
URL: https://pybluez.github.io/
Source: https://github.com/pybluez/pybluez/archive/%{rev}.tar.gz#/pybluez-%{rev}.tar.gz
BuildRequires: %{python_module devel}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: bluez-devel
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -45,10 +48,10 @@ Bluetooth applications.
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
#%%check
@@ -58,6 +61,6 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%license COPYING
%doc CHANGELOG README.md
%{python_sitearch}/bluetooth/
-%{python_sitearch}/PyBluez-*.egg-info
+%{python_sitearch}/[Pp]y[Bb]luez-%{pkg_version}*-info
%changelog