diff --git a/python-rshell.spec b/python-rshell.spec index c9ae851..9674a1d 100644 --- a/python-rshell.spec +++ b/python-rshell.spec @@ -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}