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