forked from pool/python-pyserial
Correct sed syntax
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyserial?expand=0&rev=27
This commit is contained in:
@@ -56,7 +56,7 @@ sed -i -e "s/\r//" examples/port_publisher.py # Fix EOL encoding
|
||||
%build
|
||||
%python_build
|
||||
make %{?_smp_mflags} -C documentation html && rm documentation/_build/html/.buildinfo # Build HTML documentation
|
||||
sed -i -e "1{s|^#![[:spaces:]]*\/.*bin.*$|#!%{_bindir}/python3|}" examples/*.py
|
||||
sed -i -e "1{s|^#![[:space:]]*\/.*bin.*$|#!%{_bindir}/python3|}" examples/*.py
|
||||
|
||||
%install
|
||||
%python_install
|
||||
|
Reference in New Issue
Block a user