devrim pushed to postgis (f22). "Update to 2.1.Update to 2.1.66"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Mar 27 14:08:35 UTC 2015


>From 81e31752ad23488e68e4d504c9116d213844ac35 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Devrim=20G=C3=BCnd=C3=BCz?= <devrim at gunduz.org>
Date: Fri, 27 Mar 2015 14:08:12 +0000
Subject: Update to 2.1.Update to 2.1.66


diff --git a/.gitignore b/.gitignore
index 5cd4289..e422147 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,3 @@
 /postgis-2.0.6.tar.gz
-/postgis-2.1.5.pdf
-/postgis-2.1.5.tar.gz
+/postgis-2.1.6.tar.gz
+/postgis-2.1.6.pdf
diff --git a/postgis.spec b/postgis.spec
index 736b1a2..7946b98 100644
--- a/postgis.spec
+++ b/postgis.spec
@@ -11,8 +11,8 @@
 
 Summary:	Geographic Information Systems Extensions to PostgreSQL
 Name:		postgis
-Version:	2.1.5
-Release:	3%{?dist}
+Version:	2.1.6
+Release:	1%{?dist}
 License:	GPLv2+
 Group:		Applications/Databases
 Source0:	http://download.osgeo.org/%{name}/source/%{name}-%{version}.tar.gz
@@ -20,19 +20,22 @@ Source2:	http://download.osgeo.org/%{name}/docs/%{name}-%{version}.pdf
 Source3:        http://download.osgeo.org/%{name}/source/%{name}-%{prevversion}.tar.gz
 Source4:	filter-requires-perl-Pg.sh
 Patch0:		postgis-1.5.1-pgsql9.patch
+# CFLAGS are reset before AC_CHECK_LIBRARY, but -fPIC is necessary to link against gdal
+Patch1:		postgis-configureac21.patch
 URL:		http://www.postgis.org
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	postgresql-devel >= %{pg_version_minimum}, proj-devel, geos-devel >= 3.4.2 byacc, proj-devel, flex, java, java-devel, ant
 BuildRequires:	gtk2-devel, libxml2-devel, gdal-devel >= 1.10.0
+BuildRequires:	autoconf, automake, libtool
 Requires:	postgresql >= %{pg_version_built}, geos >= 3.4.2, proj, gdal >= 1.10.0, json-c
 
 %description
 PostGIS adds support for geographic objects to the PostgreSQL object-relational
 database. In effect, PostGIS "spatially enables" the PostgreSQL server,
 allowing it to be used as a backend spatial database for geographic information
-systems (GIS), much like ESRI's SDE or Oracle's Spatial extension. PostGIS 
-follows the OpenGIS "Simple Features Specification for SQL" and has been 
+systems (GIS), much like ESRI's SDE or Oracle's Spatial extension. PostGIS
+follows the OpenGIS "Simple Features Specification for SQL" and has been
 certified as compliant with the "Types and Functions" profile.
 
 %package docs
@@ -75,11 +78,13 @@ The postgis-utils package provides the utilities for PostGIS.
 %prep
 %setup -q -n %{name}-%{version}
 %patch0 -p1 -b .pgsql9
+%patch1 -p0 -b .configureac21
 # Copy .pdf file to top directory before installing.
 cp -p %{SOURCE2} .
 
 %build
-%configure --with-gui --enable-raster 
+./autogen.sh
+%configure --with-gui --enable-raster
 make %{?_smp_mflags} LPATH=`pg_config --pkglibdir` shlib="%{name}.so"
 
 %if %javabuild
@@ -112,8 +117,8 @@ make %{?_smp_mflags}  -C extensions install DESTDIR=%{buildroot}
 
 rm -f  %{buildroot}%{_libdir}/liblwgeom.{a,la}
 
-# (moved into install section)
-# Install postgis-2.0.so file manually: 
+# (moved into install section:
+# Install postgis-2.0.so file manually:
 %{__mkdir} -p %{buildroot}/%{_libdir}/pgsql
 %{__install} -m 644 %{name}-%{prevversion}/postgis/postgis-%{prevmajorversion}.so %{buildroot}/%{_libdir}/pgsql/postgis-%{prevmajorversion}.so
 
@@ -202,8 +207,13 @@ rm -rf %{buildroot}
 %doc postgis*.pdf
 
 %changelog
+* Fri Mar 27 2015 Devrim Gündüz <devrim at gunduz.org> - 2.1.6-1
+- Update to 2.1.6, per changes described at:
+  http://postgis.net/2015/03/20/postgis-2.1.6
+
 * Wed Mar 11 2015 Devrim Gündüz <devrim at gunduz.org> - 2.1.5-3
 - Rebuild for Proj 4.9.1
+- Add patch to fix FTBFS -- patch by Sandro Mani <manisandro at gmail.com>
 
 * Thu Jan 08 2015 Jozef Mlich <jmlich at redhat.com> - 2.1.5-2
 - disable json-c/geojson just for upgrade part of postgis
diff --git a/sources b/sources
index feed0bd..d023504 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
 ba6fc0a3f13b86e83cd8db1532110636  postgis-2.0.6.tar.gz
-1f9a3f8322b02b0385da664deb486a14  postgis-2.1.5.pdf
-5191d3bfbc76bba772cfa14238328eeb  postgis-2.1.5.tar.gz
+459a9a707589fe75200f184464d7573d  postgis-2.1.6.tar.gz
+9c99afafedcb10d0678e480c587cad38  postgis-2.1.6.pdf
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/postgis.git/commit/?h=f22&id=81e31752ad23488e68e4d504c9116d213844ac35


More information about the scm-commits mailing list