From b4d71ab34d970975d07008a626a44e0b647e5d94931690e7374c43ddb4a90197 Mon Sep 17 00:00:00 2001 From: Dominik Heidler Date: Fri, 7 Feb 2025 10:52:23 +0000 Subject: [PATCH] Update OBS-URL: https://build.opensuse.org/package/show/home:dheidler/python-rshell?expand=0&rev=2 --- python-rshell.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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}