]> git.pld-linux.org Git - packages/python-PyQtWebEngine.git/commitdiff
conditional BRs
authorJan Palus <atler@pld-linux.org>
Mon, 8 Jul 2019 09:58:36 +0000 (11:58 +0200)
committerJan Palus <atler@pld-linux.org>
Mon, 8 Jul 2019 09:58:36 +0000 (11:58 +0200)
python-PyQtWebEngine.spec

index a75dfad30f5e80098933d5df51e6aab5f6e6d13f..6ed3a114bd292008f6bcb3f348a34d16e24a5f61 100644 (file)
@@ -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
This page took 0.175359 seconds and 4 git commands to generate.