Source: spatial4j-0.4
Version: 0.4.1-1
Severity: important
Tags: patch

Dear Maintainer,

Like the elasticsearch (#804723) & spatial4j (#806430) packages,
spatial4j-0.4 also doesn't need to install jts.jar in the local maven
repo anymore. This is no longer required since the update to JTS 1.13
as discussed on the debian-java list:

 https://lists.debian.org/debian-java/2015/11/msg00005.html

The attached patch drops the installation from debian/rules and updates
maven.rules for the new jts package.

Kind Regards,

Bas
diff -Nru spatial4j-0.4-0.4.1/debian/changelog spatial4j-0.4-0.4.1/debian/changelog
--- spatial4j-0.4-0.4.1/debian/changelog	2014-10-22 22:01:41.000000000 +0200
+++ spatial4j-0.4-0.4.1/debian/changelog	2015-11-27 12:32:42.000000000 +0100
@@ -1,3 +1,10 @@
+spatial4j-0.4 (0.4.1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Don't install JTS in local maven repository, not needed for JTS 1.13.
+
+ -- Bas Couwenberg <sebas...@debian.org>  Fri, 27 Nov 2015 12:32:13 +0100
+
 spatial4j-0.4 (0.4.1-1) unstable; urgency=medium
 
   * New upstream version / new package (Closes: #766098)
diff -Nru spatial4j-0.4-0.4.1/debian/maven.rules spatial4j-0.4-0.4.1/debian/maven.rules
--- spatial4j-0.4-0.4.1/debian/maven.rules	2014-10-22 21:32:16.000000000 +0200
+++ spatial4j-0.4-0.4.1/debian/maven.rules	2015-11-27 12:32:08.000000000 +0100
@@ -1,3 +1,2 @@
 
 com.spatial4j spatial4j * s/.*/0.4.x/ * *
-com.vividsolutions jts * s/.*/fake/ * *
diff -Nru spatial4j-0.4-0.4.1/debian/rules spatial4j-0.4-0.4.1/debian/rules
--- spatial4j-0.4-0.4.1/debian/rules	2014-10-22 21:32:16.000000000 +0200
+++ spatial4j-0.4-0.4.1/debian/rules	2015-11-27 12:33:26.000000000 +0100
@@ -10,10 +10,6 @@
 get-orig-source:
 	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
 
-post-patches::
-	# libjts-java ships without a maven pom, so install a fake one
-	mvn install:install-file -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=`pwd`/debian/maven-repo -Dfile=/usr/share/java/jts.jar -DgroupId=com.vividsolutions -DartifactId=jts -Dversion=fake -Dpackaging=jar
-
 install/$(pkg)::
 	# --no-usj-versionless does not to what the comment in the
 	# --generated .poms file claims.

Reply via email to