From a9931990b580a5f32c030e8e3988d2016f30d261 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Nov 28 2009 01:16:11 +0000 Subject: - -python: Requires: sip-api(%_sip_api_major) >= %_sip_api - -python-devel: Requires: sip-devel --- diff --git a/qscintilla.spec b/qscintilla.spec index 5ec25cd..6b0fe4d 100644 --- a/qscintilla.spec +++ b/qscintilla.spec @@ -6,7 +6,7 @@ Name: qscintilla Version: 2.4 -Release: 8%{?dist} +Release: 9%{?dist} Summary: A Scintilla port to Qt # matches up (pretty much) with qt4 License: GPLv3 or GPLv2 with exceptions @@ -31,6 +31,7 @@ BuildRequires: qt4-devel %{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %global pyqt4_version 4.6.1 BuildRequires: PyQt4-devel >= %{pyqt4_version} +BuildRequires: sip-devel BuildRequires: chrpath %endif @@ -53,6 +54,7 @@ Summary: QScintilla PyQt4 bindings Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: PyQt4 >= %{pyqt4_version} +%{?_sip_api:Requires: sip-api(%{_sip_api_major}) >= %{_sip_api}} %description python %{summary}. @@ -60,6 +62,7 @@ Requires: PyQt4 >= %{pyqt4_version} Summary: Development files for QScintilla PyQt4 bindings Group: Development/Libraries Requires: PyQt4-devel +Requires: sip-devel %if 0%{?fedora} > 9 BuildArch: noarch # when noarch landed @@ -157,6 +160,10 @@ rm -rf %{buildroot} %changelog +* Fri Nov 27 2009 Rex Dieter - 2.4-9 +- -python: Requires: sip-api(%%_sip_api_major) >= %%_sip_api +- -python-devel: Requires: sip-devel + * Mon Nov 23 2009 Rex Dieter - 2.4-8 - rebuild (for qt-4.6.0-rc1, f13+)