[veusz] Add a sip-api requires to the package

Jeremy Sanders jsanders at fedoraproject.org
Fri Sep 10 09:06:56 UTC 2010


commit 7252644b8cb4bbd412044c1353b8e69436dfd2eb
Author: Jeremy Sanders <jeremy at jeremysanders.net>
Date:   Fri Sep 10 10:06:35 2010 +0100

    Add a sip-api requires to the package

 veusz.spec |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/veusz.spec b/veusz.spec
index da188e3..2ad7411 100644
--- a/veusz.spec
+++ b/veusz.spec
@@ -4,7 +4,7 @@
 
 Name:           veusz
 Version:        1.9
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        GUI scientific plotting package
 
 Group:          Applications/Productivity
@@ -16,7 +16,10 @@ Source1:        %{name}.desktop
 Source2:        %{name}.xml
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:  python-devel desktop-file-utils numpy PyQt4-devel qt-devel
+BuildRequires:  python-devel desktop-file-utils numpy
+BuildRequires:  PyQt4-devel qt-devel sip-devel
+%{?_sip_api:Requires: sip-api(%{_sip_api_major}) >= %{_sip_api}}
+
 Requires:       numpy PyQt4 /usr/bin/env
 Provides:       python-veusz
 Requires(post): shared-mime-info desktop-file-utils
@@ -134,6 +137,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/pixmaps/veusz.png
 
 %changelog
+* Fri Sep 10 2010 Jeremy Sanders <jeremy at jeremysanders.net> - 1.9-2
+- Add SIP API requirement
+
 * Thu Sep  2 2010 Jeremy Sanders <jeremy at jeremysanders.net> - 1.9-1
 - Update to Veusz 1.9
 


More information about the scm-commits mailing list