[packages/python-PyQt5] - added webkit bcond

baggins baggins at pld-linux.org
Wed Aug 15 01:19:35 CEST 2018


commit d26f705d5a4ae9f7792ce1e56edac7d893ce05ff
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Aug 15 01:19:21 2018 +0200

    - added webkit bcond

 python-PyQt5.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/python-PyQt5.spec b/python-PyQt5.spec
index 12bbf02..a12dcdd 100644
--- a/python-PyQt5.spec
+++ b/python-PyQt5.spec
@@ -6,6 +6,7 @@
 %bcond_without	python2	# CPython 2.x modules
 %bcond_without	python3	# CPython 3.x modules
 %bcond_without	webengine	# QT5WebEngine support
+%bcond_without	webkit		# QT5WebKit support
 
 %define		module	PyQt5
 # minimal required sip version
@@ -49,7 +50,7 @@ BuildRequires:	Qt5Svg-devel >= %{qt_ver}
 BuildRequires:	Qt5Test-devel >= %{qt_ver}
 BuildRequires:	Qt5UiTools-devel >= %{qt_ver}
 BuildRequires:	Qt5WebChannel-devel >= %{qt_ver}
-BuildRequires:	Qt5WebKit-devel >= %{qt_ver}
+%{?with_webkit:BuildRequires:	Qt5WebKit-devel >= %{qt_ver}}
 %{?with_webengine:BuildRequires:	Qt5WebEngine-devel >= %{qt_ver}}
 BuildRequires:	Qt5WebSockets-devel >= %{qt_ver}
 BuildRequires:	Qt5Widgets-devel >= %{qt_ver}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-PyQt5.git/commitdiff/d26f705d5a4ae9f7792ce1e56edac7d893ce05ff



More information about the pld-cvs-commit mailing list