diff --git a/python-pybluez.changes b/python-pybluez.changes index 2538bdb..c48cc05 100644 --- a/python-pybluez.changes +++ b/python-pybluez.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/python-pybluez.spec b/python-pybluez.spec index 8d7ff9f..3ed9123 100644 --- a/python-pybluez.spec +++ b/python-pybluez.spec @@ -29,6 +29,7 @@ Source: https://github.com/pybluez/pybluez/archive/%{rev}.tar.gz#/pyblue BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: bluez-devel +BuildRequires: fdupes BuildRequires: python-rpm-macros Obsoletes: pybluez < 0.22 Provides: pybluez = %{version} @@ -48,6 +49,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing" %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} #%%check # no tests on upstream