diff --git a/python-kismetdb.changes b/python-kismetdb.changes index 01ebf9a..5aa041f 100644 --- a/python-kismetdb.changes +++ b/python-kismetdb.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 30 09:31:46 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Mon May 25 06:50:31 UTC 2020 - Petr Gajdos diff --git a/python-kismetdb.spec b/python-kismetdb.spec index 26c8914..526f05b 100644 --- a/python-kismetdb.spec +++ b/python-kismetdb.spec @@ -1,7 +1,7 @@ # # spec file for package python-kismetdb # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2025 SUSE LLC # Copyright (c) 2019, Martin Hauke # # All modifications and additions to the file contributed by third parties @@ -17,7 +17,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define binaries kismet_log_devices_to_filebeat_json kismet_log_to_pcap kismet_log_to_csv kismet_log_devices_to_json kismet_log_to_kml Name: python-kismetdb Version: 2019.05.05 @@ -26,13 +25,15 @@ Summary: A python wrapper for the Kismet database License: GPL-2.0-only URL: https://github.com/kismetwireless/python-kismet-db Source: https://github.com/kismetwireless/python-kismet-db/archive/%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-python-dateutil Requires: python-simplekml -Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(post): alts +Requires(postun): alts BuildArch: noarch %python_subpackages @@ -43,10 +44,10 @@ Kismet database wrapper. %setup -q -n python-kismet-db-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install for b in %{binaries}; do %python_clone -a %{buildroot}%{_bindir}/$b done @@ -74,6 +75,7 @@ done %python_alternative %{_bindir}/kismet_log_to_csv %python_alternative %{_bindir}/kismet_log_to_pcap %python_alternative %{_bindir}/kismet_log_devices_to_filebeat_json -%{python_sitelib}/* +%{python_sitelib}/kismetdb +%{python_sitelib}/kismetdb-%{version}*-info %changelog