[packages/qt5-qtwebchannel] fix intermittent parallel install failure; rel 2
atler
atler at pld-linux.org
Sat Sep 10 20:24:44 CEST 2022
commit 3786adc2c8c791d97cb9a5cf4731eadf5c4646e4
Author: Jan Palus <atler at pld-linux.org>
Date: Sat Sep 10 20:23:29 2022 +0200
fix intermittent parallel install failure; rel 2
see https://bugreports.qt.io/browse/QTBUG-106494
parallel-install.patch | 12 ++++++++++++
qt5-qtwebchannel.spec | 4 +++-
2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/qt5-qtwebchannel.spec b/qt5-qtwebchannel.spec
index 102bf9d..b30934a 100644
--- a/qt5-qtwebchannel.spec
+++ b/qt5-qtwebchannel.spec
@@ -11,11 +11,12 @@ Summary: The Qt5 WebChannel library
Summary(pl.UTF-8): Biblioteka Qt5 WebChannel
Name: qt5-%{orgname}
Version: 5.15.6
-Release: 1
+Release: 2
License: LGPL v3 or GPL v2 or GPL v3 or commercial
Group: X11/Libraries
Source0: https://download.qt.io/official_releases/qt/5.15/%{version}/submodules/%{orgname}-everywhere-opensource-src-%{version}.tar.xz
# Source0-md5: b661b99682f66912c750dbca3e3b5e1b
+Patch0: parallel-install.patch
URL: https://www.qt.io/
BuildRequires: Qt5Core-devel >= %{qtbase_ver}
BuildRequires: Qt5Network-devel >= %{qtbase_ver}
@@ -123,6 +124,7 @@ Przykłady do biblioteki Qt5 WebChannel.
%prep
%setup -q -n %{orgname}-everywhere-src-%{version}
+%patch0 -p1
%{__sed} -i -e '1{
s,^#!.*bin/env node,#!/usr/bin/node,
diff --git a/parallel-install.patch b/parallel-install.patch
new file mode 100644
index 0000000..5e7266e
--- /dev/null
+++ b/parallel-install.patch
@@ -0,0 +1,12 @@
+--- qtwebchannel-everywhere-src-5.15.6/examples/webchannel/qwclient/qwclient.pro.orig 2022-08-16 19:38:00.000000000 +0200
++++ qtwebchannel-everywhere-src-5.15.6/examples/webchannel/qwclient/qwclient.pro 2022-09-10 20:21:43.069938018 +0200
+@@ -2,8 +2,7 @@
+
+ exampleassets.files += \
+ qwclient.js \
+- package.json \
+- README
++ package.json
+
+ exampleassets.path = $$[QT_INSTALL_EXAMPLES]/webchannel/qwclient
+ include(../exampleassets.pri)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/qt5-qtwebchannel.git/commitdiff/3786adc2c8c791d97cb9a5cf4731eadf5c4646e4
More information about the pld-cvs-commit
mailing list