Skip to content

Commit

Permalink
spec rev - intermediate
Browse files Browse the repository at this point in the history
  • Loading branch information
mefuller committed Feb 1, 2022
1 parent 102d28f commit e42c6e9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions rpm/usbrelay.spec
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,10 @@ install test.py %{_buildroot}%{_datadir}/%{name}/
#ln -s libusbrelay.so.0 libusbrelay.so
#cd -

%check
# verify that Python module imports
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}:%{buildroot}%{python3_sitearch}
%py3_check_import usbrelay_py
#export LD_LIBRARY_PATH=
#py3_check_import -f {buildroot}{python3_sitearch}/{name}_py*.so


%pre
Expand All @@ -104,7 +105,7 @@ export LD_LIBRARY_PATH=%{buildroot}%{_libdir}:%{buildroot}%{python3_sitearch}
%{_bindir}/usbrelay
%{_libdir}/libusbrelay.so
#{_libdir}/libusbrelay.so.0
#{_libdir}/libusbrelay.so.%{version}
#{_libdir}/libusbrelay.so.{version}
%{_udevrulesdir}/50-usbrelay.rules


Expand Down

0 comments on commit e42c6e9

Please sign in to comment.