diff --git a/xpra.changes b/xpra.changes index 109c49f..e27b97a 100644 --- a/xpra.changes +++ b/xpra.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Nov 4 23:48:14 UTC 2018 - Jan Engelhardt + +- Make xpra-html5 subpackage noarch +- Speed up find -exec + ------------------------------------------------------------------- Sun Nov 4 14:47:43 UTC 2018 - Luigi Baldoni diff --git a/xpra.spec b/xpra.spec index bf8adb9..d0626e7 100644 --- a/xpra.spec +++ b/xpra.spec @@ -108,6 +108,7 @@ Provides: bundled(js-forge) Provides: bundled(js-aurora) Provides: bundled(js-broadway) Provides: bundled(js-bencode) +BuildArch: noarch %description html5 This package adds websockify support to allow xpra to listen for http @@ -118,10 +119,10 @@ connections, and also the xpra html5 client. %patch0 -p1 # fix shebangs find -name '*.py' \ - -exec sed -i '1{\@^#!/usr/bin/env python@d}' {} \; + -exec sed -i '1{\@^#!/usr/bin/env python@d}' {} + sed -i "1 s|^#!/usr/bin/env python\b|#!%__python2|" cups/xpraforwarder # fix python-bytecode-inconsistent-mtime warning -find . -name '*.py' -exec touch -mat 1707141200 {} \; +find . -name '*.py' -exec touch -mat 1707141200 {} + install -m0644 %{SOURCE1} -t xdg # set fillup dir sed -i 's|__FILLUPDIR__|%{_fillupdir}|' setup.py @@ -164,7 +165,7 @@ install -pm 644 etc/xpra/nvenc.keys %{buildroot}%{_sysconfdir}/xpra # Ensure all .js files are not executable find %{buildroot}%{_datadir}/xpra/www/js -name '*.js' \ - -exec chmod 0644 {} \; + -exec chmod 0644 {} + %suse_update_desktop_file -r xpra Network RemoteAccess %suse_update_desktop_file -r xpra-browser Network RemoteAccess