From e9807bd8403ee33f5dd62749320c875e496eb4b95853c6a1b917374c5b752e73 Mon Sep 17 00:00:00 2001 From: Luigi Baldoni Date: Fri, 5 Feb 2021 17:52:03 +0000 Subject: [PATCH] Accepting request 869790 from home:olh:branches:X11:Utilities - Fix requires for /bin/bash OBS-URL: https://build.opensuse.org/request/show/869790 OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/xpra?expand=0&rev=66 --- xpra.changes | 5 +++++ xpra.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) 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 \