From fbcadb65ad266fda14de1d94ab4687b43229e6ee9aca06d5f9093fd834b63733 Mon Sep 17 00:00:00 2001 From: Luigi Baldoni Date: Wed, 19 Aug 2020 13:41:29 +0000 Subject: [PATCH] Accepting request 827903 from home:alois:branches:X11:Utilities - Use proper location of bash in script shebang - Add runtime requirement OBS-URL: https://build.opensuse.org/request/show/827903 OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/xpra?expand=0&rev=56 --- xpra.changes | 6 ++++++ xpra.spec | 2 ++ 2 files changed, 8 insertions(+) diff --git a/xpra.changes b/xpra.changes index ea05ec7..6d1f601 100644 --- a/xpra.changes +++ b/xpra.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Aug 19 12:58:54 UTC 2020 - Luigi Baldoni + +- Use proper location of bash in script shebang +- Add runtime requirement + ------------------------------------------------------------------- Wed Aug 19 09:20:53 UTC 2020 - Dominique Leuenberger diff --git a/xpra.spec b/xpra.spec index d220be9..327332c 100644 --- a/xpra.spec +++ b/xpra.spec @@ -63,6 +63,7 @@ Requires: gstreamer-plugins-good Requires: pulseaudio Requires: pulseaudio-utils Requires: python3-Pillow +Requires: python3-cairo Requires: python3-dbus-python Requires: python3-gobject-Gdk Requires: python3-gst @@ -119,6 +120,7 @@ connections, and also the xpra html5 client. 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 install -m0644 %{SOURCE1} -t xdg # set fillup dir sed -e 's|__FILLUPDIR__|%{_fillupdir}|' \