diff --git a/PyBluez-0.23.tar.gz b/PyBluez-0.23.tar.gz deleted file mode 100644 index 75145a9..0000000 --- a/PyBluez-0.23.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c8f04d2e78951eaa9de486b4d49381704e8943d0a6e6e58f55fcd7b8582e90de -size 97562 diff --git a/pybluez-5096047f90a1f6a74ceb250aef6243e144170f92.tar.gz b/pybluez-5096047f90a1f6a74ceb250aef6243e144170f92.tar.gz new file mode 100644 index 0000000..4c7f438 --- /dev/null +++ b/pybluez-5096047f90a1f6a74ceb250aef6243e144170f92.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:21e7208eeb2f098df614edeb4c40ff0d1b365d443b2e90be147eaf72b02bd795 +size 217977 diff --git a/python-pybluez.changes b/python-pybluez.changes index 49b0ac2..c48cc05 100644 --- a/python-pybluez.changes +++ b/python-pybluez.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Feb 25 20:36:44 UTC 2022 - Matej Cepl + +- 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 diff --git a/python-pybluez.spec b/python-pybluez.spec index b4c1ef5..3ed9123 100644 --- a/python-pybluez.spec +++ b/python-pybluez.spec @@ -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