[packages/python-PyQt5] - added webengine bcond
baggins
baggins at pld-linux.org
Tue Aug 14 21:50:30 CEST 2018
commit 587f47b5f0d6526bbfc9efabace6e10877032843
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Aug 14 21:50:13 2018 +0200
- added webengine bcond
python-PyQt5.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/python-PyQt5.spec b/python-PyQt5.spec
index afab936..12bbf02 100644
--- a/python-PyQt5.spec
+++ b/python-PyQt5.spec
@@ -5,6 +5,7 @@
# Conditional build:
%bcond_without python2 # CPython 2.x modules
%bcond_without python3 # CPython 3.x modules
+%bcond_without webengine # QT5WebEngine support
%define module PyQt5
# minimal required sip version
@@ -49,7 +50,7 @@ BuildRequires: Qt5Test-devel >= %{qt_ver}
BuildRequires: Qt5UiTools-devel >= %{qt_ver}
BuildRequires: Qt5WebChannel-devel >= %{qt_ver}
BuildRequires: Qt5WebKit-devel >= %{qt_ver}
-BuildRequires: Qt5WebEngine-devel >= %{qt_ver}
+%{?with_webengine:BuildRequires: Qt5WebEngine-devel >= %{qt_ver}}
BuildRequires: Qt5WebSockets-devel >= %{qt_ver}
BuildRequires: Qt5Widgets-devel >= %{qt_ver}
BuildRequires: Qt5X11Extras-devel >= %{qt_ver}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-PyQt5.git/commitdiff/587f47b5f0d6526bbfc9efabace6e10877032843
More information about the pld-cvs-commit
mailing list