From 27a9b18a3bfe72ec8de647e5aaefd653d08a00567cf14ec44fa21c04c28df83f Mon Sep 17 00:00:00 2001 From: Otto Dassau Date: Wed, 8 Jul 2009 14:01:21 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Application:Geo/qgis?expand=0&rev=80 --- qgis.spec | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/qgis.spec b/qgis.spec index 745817c..ad2b8cd 100644 --- a/qgis.spec +++ b/qgis.spec @@ -21,13 +21,11 @@ Requires: gsl >= 1.6 Requires: postgresql >= 8 postgresql-libs >= 8 Requires: python-qt4 python-xml Requires: gpsbabel -%if 0%{?suse_version} == 1010 -Requires: expat +%if 0%{?suse_version} > 1030 +BuildRequires: libexpat-devel %else -Requires: libexpat1 +BuildRequires: expat %endif -BuildRequires: libexpat-devel -BuildRequires: libexpat-devel BuildRequires: python-devel python-qt4 python-sip BuildRequires: libgdal-devel >= 1.5.0 BuildRequires: libgeos-devel >= 2