[python-pyside] Require Qt version greater or equal than the package was built with

Kalev Lember kalev at fedoraproject.org
Thu Mar 3 18:01:52 UTC 2011


commit 784d615b1fa25d742241cdff2886558a57c5942f
Author: Kalev Lember <kalev at smartlink.ee>
Date:   Thu Mar 3 19:40:16 2011 +0200

    Require Qt version greater or equal than the package was built with

 python-pyside.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/python-pyside.spec b/python-pyside.spec
index d84b06e..06ed297 100644
--- a/python-pyside.spec
+++ b/python-pyside.spec
@@ -2,7 +2,7 @@
 
 Name:           python-pyside
 Version:        1.0.0
-Release:        1%{?dist}
+Release:        1%{?dist}.1
 Summary:        Python bindings for Qt4
 
 Group:          Development/Languages
@@ -21,6 +21,8 @@ BuildRequires:  shiboken-devel
 BuildRequires:  xorg-x11-server-Xvfb
 BuildRequires:  xorg-x11-xauth
 
+%{?_qt4_version:Requires: qt4%{?_isa} >= %{_qt4_version}}
+
 # Don't want provides for python shared objects
 %{?filter_provides_in: %filter_provides_in %{python_sitearch}/PySide/.*\.so}
 %{?filter_setup}
@@ -109,6 +111,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Mar 03 2011 Kalev Lember <kalev at smartlink.ee> - 1.0.0-1.1
+- Require Qt version greater or equal than the package was built with
+
 * Thu Mar 03 2011 Kalev Lember <kalev at smartlink.ee> - 1.0.0-1
 - Update to 1.0.0
 - Re-enabled Provides filtering


More information about the scm-commits mailing list