diff --git a/xpra.changes b/xpra.changes index 5fc131e..32a1a04 100644 --- a/xpra.changes +++ b/xpra.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 5 15:15:15 UTC 2021 - olaf@aepfle.de + +- Fix requires for /bin/bash + ------------------------------------------------------------------- Thu Dec 31 19:17:12 UTC 2020 - Luigi Baldoni diff --git a/xpra.spec b/xpra.spec index bc15e54..3cb61e3 100644 --- a/xpra.spec +++ b/xpra.spec @@ -115,18 +115,19 @@ connections, and also the xpra html5 client. %prep %autosetup -p1 + +%build # fix shebangs find -name '*.py' \ -exec sed -i '1{\@^#!/usr/bin/env python@d}' {} + sed -i "1 s|^#!/usr/bin/env python\b|#!%__python3|" cups/xpraforwarder -sed -i "1 s|^/usr/bin/bash|#!$(which bash)|" scripts/xpra_udev_product_version +sed -i "1 s|^/usr/bin/bash|#!/bin/bash|" scripts/xpra_udev_product_version install -m0644 %{SOURCE1} -t xdg # set fillup dir sed -e 's|__FILLUPDIR__|%{_fillupdir}|' \ -e 's|__UNITDIR__|%{_unitdir}|' \ -i setup.py -%build python3 setup.py build \ --verbose \ --with-enc_ffmpeg \