|
|
@@ -1,7 +1,7 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# spec file for package python-pymavlink
|
|
|
|
# spec file for package python-pymavlink
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Copyright (c) 2024 SUSE LLC
|
|
|
|
# Copyright (c) 2025 SUSE LLC
|
|
|
|
# Copyright (c) 2019-2021, Martin Hauke <mardnh@gmx.de>
|
|
|
|
# Copyright (c) 2019-2021, Martin Hauke <mardnh@gmx.de>
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
@@ -18,6 +18,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%define binaries mavtomfile mavtogpx mavsummarize mavsigloss mavsearch mavplayback mavparms mavparmdiff mavmission mavloss mavlogdump mavlink_bitmask_decoder mavkml mavgraph mavgpslock mavgen mavflighttime mavflightmodes mavfft_isb mavfft mavextract magfit_motors magfit_gps magfit_delta magfit_WMM magfit MPU6KSearch
|
|
|
|
%define binaries mavtomfile mavtogpx mavsummarize mavsigloss mavsearch mavplayback mavparms mavparmdiff mavmission mavloss mavlogdump mavlink_bitmask_decoder mavkml mavgraph mavgpslock mavgen mavflighttime mavflightmodes mavfft_isb mavfft mavextract magfit_motors magfit_gps magfit_delta magfit_WMM magfit MPU6KSearch
|
|
|
|
|
|
|
|
%bcond_without libalternatives
|
|
|
|
Name: python-pymavlink
|
|
|
|
Name: python-pymavlink
|
|
|
|
Version: 2.4.41
|
|
|
|
Version: 2.4.41
|
|
|
|
Release: 0
|
|
|
|
Release: 0
|
|
|
@@ -30,15 +31,15 @@ BuildRequires: %{python_module devel}
|
|
|
|
BuildRequires: %{python_module pip}
|
|
|
|
BuildRequires: %{python_module pip}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
BuildRequires: %{python_module wheel}
|
|
|
|
BuildRequires: %{python_module wheel}
|
|
|
|
|
|
|
|
BuildRequires: alts
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
|
|
|
|
Requires: alts
|
|
|
|
Requires: python-lxml
|
|
|
|
Requires: python-lxml
|
|
|
|
Requires(post): update-alternatives
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires(postun):update-alternatives
|
|
|
|
|
|
|
|
# SECTION test requirements
|
|
|
|
# SECTION test requirements
|
|
|
|
BuildRequires: %{python_module lxml}
|
|
|
|
BuildRequires: %{python_module lxml}
|
|
|
|
# /SECTION
|
|
|
|
# /SECTION
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%python_subpackages
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@@ -75,14 +76,9 @@ rm -f %{buildroot}%{_bindir}/_current_flavor
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
# no tests in PyPI tarball, no tags in upstream repo
|
|
|
|
# no tests in PyPI tarball, no tags in upstream repo
|
|
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
%pre
|
|
|
|
for b in %{binaries}; do
|
|
|
|
for b in %{binaries}; do
|
|
|
|
%python_install_alternative $b
|
|
|
|
%python_libalternatives_reset_alternative $b
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
|
|
|
for b in %{binaries}; do
|
|
|
|
|
|
|
|
%python_uninstall_alternative $b
|
|
|
|
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
%files %{python_files}
|
|
|
|