SHA256
1
0
forked from pool/xpra

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
This commit is contained in:
Luigi Baldoni 2020-08-19 13:41:29 +00:00 committed by Git OBS Bridge
parent ab478af49f
commit fbcadb65ad
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Aug 19 12:58:54 UTC 2020 - Luigi Baldoni <aloisio@gmx.com>
- Use proper location of bash in script shebang
- Add runtime requirement
-------------------------------------------------------------------
Wed Aug 19 09:20:53 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>

View File

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