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
This commit is contained in:
parent
a51db3efd3
commit
e9807bd840
@ -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 <aloisio@gmx.com>
|
||||
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user