[packages/qt5-qtwebengine] manually adjust artificial qt version deps in cmake files; rel 2
atler
atler at pld-linux.org
Thu Sep 9 17:14:18 CEST 2021
commit 4f7be6a60bd40cc899fab9feeb1be56b5f6b29e4
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Sep 9 17:12:35 2021 +0200
manually adjust artificial qt version deps in cmake files; rel 2
qt5-qtwebengine.spec | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/qt5-qtwebengine.spec b/qt5-qtwebengine.spec
index 254c520..61b5c5b 100644
--- a/qt5-qtwebengine.spec
+++ b/qt5-qtwebengine.spec
@@ -3,6 +3,8 @@
%bcond_without doc # documentation
%bcond_without system_libvpx # Build with system libvpx
+%define base_version 5.15
+
%define orgname qtwebengine
%define qtbase_ver 5.15
%define qtdeclarative_ver 5.15
@@ -13,8 +15,8 @@
Summary: The Qt5 WebEngine library
Summary(pl.UTF-8): Biblioteka Qt5 WebEngine
Name: qt5-%{orgname}
-Version: 5.15.6
-Release: 1
+Version: %{base_version}.6
+Release: 2
License: LGPL v3 or GPL v2 or GPL v3 or commercial
Group: X11/Libraries
Source0: qtwebengine-%{version}.tar.xz
@@ -344,6 +346,10 @@ ifecho_tree examples %{_examplesdir}/qt5/pdfwidgets
ifecho_tree examples %{_examplesdir}/qt5/webengine
ifecho_tree examples %{_examplesdir}/qt5/webenginewidgets
+# fixup artificial Qt version dependency
+sed -i -e 's/%{version} ${_Qt5WebEngine[^_]*_FIND_VERSION_EXACT}/%{base_version}/' \
+ $RPM_BUILD_ROOT%{_libdir}/cmake/Qt5WebEngine*/Qt5WebEngine*Config.cmake
+
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/qt5-qtwebengine.git/commitdiff/4f7be6a60bd40cc899fab9feeb1be56b5f6b29e4
More information about the pld-cvs-commit
mailing list