[packages/qt5-qtwebchannel] fix shebang in examples; rel 2

atler atler at pld-linux.org
Thu Dec 26 21:44:07 CET 2019


commit 898b061f425e44696b62b7f66f00f565f1baa546
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Dec 26 21:42:45 2019 +0100

    fix shebang in examples; rel 2

 qt5-qtwebchannel.spec | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/qt5-qtwebchannel.spec b/qt5-qtwebchannel.spec
index ff12064..f62e365 100644
--- a/qt5-qtwebchannel.spec
+++ b/qt5-qtwebchannel.spec
@@ -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}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qt5-qtwebchannel.git/commitdiff/898b061f425e44696b62b7f66f00f565f1baa546



More information about the pld-cvs-commit mailing list