diff --git a/python-bluepy.changes b/python-bluepy.changes index 38872bf..ec530cd 100644 --- a/python-bluepy.changes +++ b/python-bluepy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 10 07:44:57 UTC 2023 - Matej Cepl + +- Slight improvements in packaging, rpmlint still very unhappy. + ------------------------------------------------------------------- Mon May 8 11:48:47 UTC 2023 - Dan Čermák diff --git a/python-bluepy.spec b/python-bluepy.spec index bb69602..cbf5126 100644 --- a/python-bluepy.spec +++ b/python-bluepy.spec @@ -1,5 +1,5 @@ # -# spec file for package python-attrs +# spec file for package python-bluepy # # Copyright (c) 2023 SUSE LLC # @@ -16,30 +16,28 @@ # -%bcond_with test %define skip_python2 1 %define skip_python36 1 - +%bcond_with test Name: python-bluepy Version: 1.3.0 Release: 0 +Summary: Python interface to Bluetooth LE on Linux # according to LICENSE.txt: # - bluez-x.yz is under GPLv2 & LGPLv2 # - everything else is public domain -License: (GPL-2.0-or-later AND LGPL-2.1-or-later) AND SUSE-Public-Domain -Summary: Python interface to Bluetooth LE on Linux -Url: http://ianharvey.github.io/bluepy-doc/ +License: GPL-2.0-or-later AND LGPL-2.1-or-later AND SUSE-Public-Domain +URL: https://ianharvey.github.io/bluepy-doc/ Source: bluepy-%{version}.tar.xz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: python-rpm-macros BuildRequires: glib2-devel +BuildRequires: python-rpm-macros BuildRequires: unzip %if %{with test} BuildRequires: %{python_module pytest} %endif - %python_subpackages %description @@ -51,7 +49,6 @@ Source code and further documentation is at: https://github.com/IanHarvey/bluepy http://ianharvey.github.io/bluepy-doc/ - %prep %setup -q -n bluepy-%{version} @@ -65,7 +62,6 @@ Source code and further documentation is at: %python_clone -a %{buildroot}%{_bindir}/sensortag %python_clone -a %{buildroot}%{_bindir}/thingy52 - %if %{with test} %check sed -i -e "s/'coveralls'/'python-coveralls'/" setup.py @@ -78,10 +74,11 @@ testvenv-%$python_bin_suffix/bin/python -m pytest && rm -Rf testvenv-%$python_bi %files %{python_files} %license LICENSE.txt -%doc README README.md +%doc README README.md %python_alternative %{_bindir}/blescan %python_alternative %{_bindir}/sensortag %python_alternative %{_bindir}/thingy52 -%{python_sitelib}/* +%{python_sitelib}/bluepy +%{python_sitelib}/bluepy-%{version}*-info %changelog