commit 6b7a241c7aac325304d0b1e3ac3d9c9d9c84b1ff
Author: Jan Palus <[email protected]>
Date:   Mon Jul 8 11:58:36 2019 +0200

    conditional BRs

 python-PyQtWebEngine.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/python-PyQtWebEngine.spec b/python-PyQtWebEngine.spec
index a75dfad..6ed3a11 100644
--- a/python-PyQtWebEngine.spec
+++ b/python-PyQtWebEngine.spec
@@ -22,12 +22,16 @@ Patch0:             install.patch
 URL:           http://www.riverbankcomputing.com/software/pyqtwebengine/
 BuildRequires: Qt5WebEngine-devel >= %{qt_ver}}
 BuildRequires: pkgconfig
+%if %{with python2}
 BuildRequires: python-PyQt5
 BuildRequires: python-PyQt5-sip >= %{sip_ver}
 BuildRequires: python-sip-devel >= %{sip_ver}
+%endif
+%if %{with python3}
 BuildRequires: python3-PyQt5
 BuildRequires: python3-PyQt5-sip >= %{sip_ver}
 BuildRequires: python3-sip-devel >= %{sip_ver}
+%endif
 BuildRequires: qt5-build >= %{qt_ver}
 BuildRequires: qt5-qmake >= %{qt_ver}
 BuildRequires: rpm-pythonprov
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-PyQtWebEngine.git/commitdiff/0ee5a2b506589dfc8e4381e146109857312b7ac3

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to