Accepting request 890256 from home:mslacken

Hello Adrian,
can you forward this to Factory?

kind regards,
Christian

- created multibuild python alternatives for the binaries

OBS-URL: https://build.opensuse.org/request/show/890256
OBS-URL: https://build.opensuse.org/package/show/system:homeautomation:home-assistant/python-bluepy?expand=0&rev=13
This commit is contained in:
2021-05-04 08:38:06 +00:00
committed by Git OBS Bridge
parent 94f1eccbd2
commit 441313985e
2 changed files with 12 additions and 1 deletions

View File

@@ -59,6 +59,10 @@ Source code and further documentation is at:
%install
%python_install
%fdupes %{buildroot}%{_prefix}
%python_clone -a %{buildroot}%{_bindir}/blescan
%python_clone -a %{buildroot}%{_bindir}/sensortag
%python_clone -a %{buildroot}%{_bindir}/thingy52
%if %{with test}
%check
@@ -73,7 +77,9 @@ testvenv-%$python_bin_suffix/bin/python -m pytest && rm -Rf testvenv-%$python_bi
%files %{python_files}
%license LICENSE.txt
%doc README README.md
%_bindir/*
%python_alternative %{_bindir}/blescan
%python_alternative %{_bindir}/sensortag
%python_alternative %{_bindir}/thingy52
%{python_sitelib}/*
%changelog