]> git.pld-linux.org Git - packages/qt5-qtwebchannel.git/commitdiff
fix shebang in examples; rel 2 auto/th/qt5-qtwebchannel-5.14.0-2
authorJan Palus <atler@pld-linux.org>
Thu, 26 Dec 2019 20:42:45 +0000 (21:42 +0100)
committerJan Palus <atler@pld-linux.org>
Thu, 26 Dec 2019 20:42:45 +0000 (21:42 +0100)
qt5-qtwebchannel.spec

index ff12064fb695ea41133dcf72f716aad34afa41b6..f62e3650c4281ab460f7b2b02e5d294ba01ecbfb 100644 (file)
@@ -10,7 +10,7 @@ Summary:      The Qt5 WebChannel library
 Summary(pl.UTF-8):     Biblioteka Qt5 WebChannel
 Name:          qt5-%{orgname}
 Version:       5.14.0
-Release:       1
+Release:       2
 License:       LGPL v2.1 with Digia Qt LGPL Exception v1.1 or GPL v3.0
 Group:         X11/Libraries
 Source0:       http://download.qt.io/official_releases/qt/5.14/%{version}/submodules/%{orgname}-everywhere-src-%{version}.tar.xz
@@ -126,6 +126,11 @@ PrzykĹ‚ady do biblioteki Qt5 WebChannel.
 %prep
 %setup -q -n %{orgname}-everywhere-src-%{version}
 
+%{__sed} -i -e '1{
+       s,^#!.*bin/env node,#!/usr/bin/node,
+}' \
+       examples/webchannel/qwclient/qwclient.js
+
 %build
 qmake-qt5
 %{__make}
This page took 0.343258 seconds and 4 git commands to generate.