[SCM] postgis branch, master, updated. upstream/2.0.1-40-g2a53869

Markus Wanner markus at bluegap.ch
Tue Apr 30 15:18:14 UTC 2013


The following commit has been merged in the master branch:
commit 2a538699945affffbd89173d406b39cd592d6d29
Author: Markus Wanner <markus at bluegap.ch>
Date:   Thu Apr 25 22:17:08 2013 +0200

    Add a symlink to postgis-jdbc-2.0.3.jar for libpostgis-java to remain
    backwards compatible. Drop some commented code from debian/rules.

diff --git a/debian/rules b/debian/rules
index 10dee3d..0be8b9b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -45,9 +45,6 @@ build-arch-stamp: configuration-stamp
 
 build-indep: build-indep-stamp
 build-indep-stamp: configuration-stamp
-#	Documentation and common files for PostGIS
-#	[ ! -f doc/html/postgis.html.prev -a -f doc/html/postgis.html ] && cp doc/html/postgis.html doc/html/postgis.html.prev || true
-
 #	PostGIS JDBC (with debug support)
 	cd $(CURDIR)/java/jdbc && $(MVN) package
 
@@ -124,6 +121,11 @@ install-indep: build-indep
 
 	dh_install -i
 
+#	Link the resulting JAR file, so it's available via it's old
+#	name. (Even if postgis-jdbc.jar might be more appropriate.)
+	ln -sf postgis-jdbc-$(VERSION).jar \
+		$(CURDIR)/debian/libpostgis-java/usr/share/java/postgis.jar
+
 install-arch: build-arch
 	dh_testdir
 	dh_testroot

-- 
PostGIS for PostgreSQL



More information about the Pkg-grass-devel mailing list