14
0

Accepting request 957656 from devel:languages:python

- Deduplicate files in python_sitearch.
- update to version 0.23+git5096047f90a1f6a74ceb250aef6243e144170f92:
  * no upstream changelog

OBS-URL: https://build.opensuse.org/request/show/957656
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pybluez?expand=0&rev=20
This commit is contained in:
2022-02-26 16:02:08 +00:00
committed by Git OBS Bridge
4 changed files with 22 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c8f04d2e78951eaa9de486b4d49381704e8943d0a6e6e58f55fcd7b8582e90de
size 97562

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:21e7208eeb2f098df614edeb4c40ff0d1b365d443b2e90be147eaf72b02bd795
size 217977

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Feb 25 20:36:44 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Deduplicate files in python_sitearch.
-------------------------------------------------------------------
Thu Feb 24 14:50:47 UTC 2022 - pgajdos@suse.com
- update to version 0.23+git5096047f90a1f6a74ceb250aef6243e144170f92:
* no upstream changelog
-------------------------------------------------------------------
Thu Mar 19 10:59:22 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pybluez
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,18 +16,20 @@
#
%define rev 5096047f90a1f6a74ceb250aef6243e144170f92
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pybluez
Version: 0.23
Version: 0.23+git%{rev}
Release: 0
Summary: A Python Bluetooth wrapper
License: GPL-2.0-or-later
Group: Development/Libraries/Python
URL: https://pybluez.github.io/
Source: https://files.pythonhosted.org/packages/source/P/PyBluez/PyBluez-%{version}.tar.gz
Source: https://github.com/pybluez/pybluez/archive/%{rev}.tar.gz#/pybluez-%{rev}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: bluez-devel
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Obsoletes: pybluez < 0.22
Provides: pybluez = %{version}
@@ -39,7 +41,7 @@ resources to allow Python developers to easily and quickly create
Bluetooth applications.
%prep
%setup -q -n PyBluez-%{version}
%setup -q -n pybluez-%{rev}
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"
@@ -47,6 +49,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
#%%check
# no tests on upstream
@@ -55,6 +58,6 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%license COPYING
%doc CHANGELOG README.md
%{python_sitearch}/bluetooth/
%{python_sitearch}/PyBluez-%{version}-py*.egg-info
%{python_sitearch}/PyBluez-*.egg-info
%changelog