[PyQt4] qscintilla feature macro too
Rex Dieter
rdieter at fedoraproject.org
Fri Mar 22 17:24:44 UTC 2013
commit 5cc1287b93bf68a271670b6030d31d46650d753a
Author: Rex Dieter <rdieter at math.unl.edu>
Date: Fri Mar 22 12:24:07 2013 -0500
qscintilla feature macro too
PyQt4.spec | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/PyQt4.spec b/PyQt4.spec
index 304d565..2c4957a 100644
--- a/PyQt4.spec
+++ b/PyQt4.spec
@@ -1,6 +1,7 @@
%if 0%{?fedora}
%global with_python3 1
+%global qscintilla 1
%global webkit 1
%endif
@@ -42,11 +43,14 @@ BuildRequires: pkgconfig(python)
BuildRequires: python-devel
%endif
BuildRequires: pkgconfig(QtGui) pkgconfig(QtNetwork)
-%if 0%{?fedora}
+%if 0%{?qscintilla}
# beware of PyQt4/qscintilla bootstap issues
BuildRequires: qscintilla
+%endif
+%if 0%{?webkit}
BuildRequires: pkgconfig(QtWebKit)
%endif
+%endif
BuildRequires: sip-devel >= 4.14.3
%if 0%{?with_python3}
@@ -267,7 +271,7 @@ rm -rf %{buildroot}
%{_bindir}/pyuic4
%{python_sitearch}/PyQt4/uic/pyuic.py*
%{_datadir}/sip/PyQt4/
-%if 0%{?fedora}
+%if 0%{?qscintilla}
%{_qt4_datadir}/qsci/api/python/PyQt4.api
%endif
More information about the scm-commits
mailing list