Update
OBS-URL: https://build.opensuse.org/package/show/home:dheidler/python-rshell?expand=0&rev=2
This commit is contained in:
@@ -30,8 +30,8 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python3-pyserial
|
||||
Requires: python3-pyudev
|
||||
Requires: python-pyserial
|
||||
Requires: python-pyudev
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
%python_subpackages
|
||||
@@ -50,9 +50,10 @@ sed -i -e 's_#!/usr/bin/env python3__' rshell/*.py
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
# tests can't run as they require a micropython board connected via USB
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python3_fix_shebang
|
||||
%python_clone -a %{buildroot}%{_bindir}/rshell
|
||||
%python_clone -a %{buildroot}%{_bindir}/pyboard
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
Reference in New Issue
Block a user