[libspatialite] Temporarily resolve gdal circular dependency by disabling lwgeom (postgis)

Volker Fröhlich volter at fedoraproject.org
Thu Jun 27 20:19:28 UTC 2013


commit 1f55f67c59e18f5375804864b4ff3420cf7eb7ad
Author: Volker Fröhlich <volker27 at gmx.at>
Date:   Thu Jun 27 22:18:34 2013 +0200

    Temporarily resolve gdal circular dependency by disabling lwgeom
    (postgis)

 libspatialite.spec |   19 ++++++++++++-------
 1 files changed, 12 insertions(+), 7 deletions(-)
---
diff --git a/libspatialite.spec b/libspatialite.spec
index c6ed748..d80eaba 100644
--- a/libspatialite.spec
+++ b/libspatialite.spec
@@ -13,10 +13,11 @@
 %global _geocallback "--enable-geocallbacks"
 %endif
 
-%if 0%{?fedora} > 18
+#%if 0%{?fedora} > 18
 # The author expects malfunction in older versions of libxml2 than 2.8
-%global _lwgeom "--enable-lwgeom=yes"
-%endif
+#%global _lwgeom "--enable-lwgeom=yes"
+%global _lwgeom "--enable-lwgeom=no"
+#%endif
 
 # GEOS 3.3 is only available in Fedora and from EL6 on and up
 # Older versions don't allow for "geosadvanced"
@@ -36,7 +37,7 @@
 
 Name:      libspatialite
 Version:   4.1.0
-Release:   1%{?dist}
+Release:   2%{?dist}
 Summary:   Enables SQLite to support spatial data
 Group:     System Environment/Libraries
 License:   MPLv1.1 or GPLv2+ or LGPLv2+
@@ -57,9 +58,9 @@ BuildRequires: zlib-devel
 BuildRequires: libxml2-devel
 %endif
 
-%if 0%{?fedora} > 18
-BuildRequires: postgis
-%endif
+#%if 0%{?fedora} > 18
+#BuildRequires: postgis
+#%endif
 
 %description
 SpatiaLite is a a library extending the basic SQLite core
@@ -136,6 +137,10 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Thu Jun 27 2013 Volker Fröhlich <volker27 at gmx.at> - 4.1.0-2
+- Temporarily disable lwgeom features to break the circular
+  dependency between gdal -- libspatialite -- postgis -- gdal
+
 * Tue Jun  4 2013 Volker Fröhlich <volker27 at gmx.at> - 4.1.0-1
 - New upstream release
 


More information about the scm-commits mailing list