From 23edb363736200bed8041c376405245d96dcdd68b19bfd4ea13e0f3641c65bb6 Mon Sep 17 00:00:00 2001 From: Otto Dassau Date: Wed, 3 Sep 2008 16:47:34 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Application:Geo/qgis?expand=0&rev=49 --- qgis.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/qgis.spec b/qgis.spec index d07e86a..b86b616 100644 --- a/qgis.spec +++ b/qgis.spec @@ -12,8 +12,7 @@ Summary: Quantum GIS (QGIS) is a Geographic Information System (GIS) Packager: Otto Dassau Requires: libgeos >= 2 Requires: libgdal >= 1.5.0 -#Internal sqlite is used to support older suse versions -#Requires: sqlite >= 3.5 +Requires: sqlite >= 3.5 Requires: libqt4 >= 4.2 Requires: gsl >= 1.6 Requires: postgresql >= 8 postgresql-libs >= 8 @@ -27,8 +26,7 @@ BuildRequires: python-devel python-qt4 python-sip %endif BuildRequires: libgdal-devel >= 1.5.0 BuildRequires: libgeos-devel >= 2 -#Internal sqlite is used to support older suse versions -#BuildRequires: sqlite-devel >= 3.5 +BuildRequires: sqlite-devel >= 3.5 BuildRequires: libproj-devel BuildRequires: postgresql-devel >= 8 BuildRequires: grass >= 6.2.3 grass-devel @@ -86,9 +84,11 @@ cmake -Wno-dev \ -D GRASS_PREFIX=/opt/grass\ -D QGIS_LIB_SUBDIR=%{lib} \ -D QGIS_PLUGIN_SUBDIR=%{lib}/qgis \ - -D QGIS_MANUAL_SUBDIR=share/man \ +%if 0%{?suse_version} < 1030 || 0%{?sles_version} == 10 -D WITH_INTERNAL_SQLITE3=TRUE \ -D SQLITE3_INCLUDE_DIR=%{buildroot}/src/core/sqlite3 \ +%endif + -D QGIS_MANUAL_SUBDIR=share/man \ . #echo "for 'make' run first:"