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}|' \