[postgis-java] 07/09: Add patch to fix upstream version in pom.xml.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Fri Nov 27 18:29:11 UTC 2015


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to tag debian/2.2.0-1.exp1
in repository postgis-java.

commit 03ef83239509e7626ec5a6241367623f900a6936
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Nov 27 14:31:49 2015 +0100

    Add patch to fix upstream version in pom.xml.
---
 debian/changelog                      |  1 +
 debian/patches/series                 |  1 +
 debian/patches/upstream-version.patch | 78 +++++++++++++++++++++++++++++++++++
 3 files changed, 80 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 30aa57b..5d76f82 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ postgis-java (1:2.2.0-1) UNRELEASED; urgency=medium
   * Use default JVM for JAVA_HOME.
   * Rely on dh_auto_* defaults for maven buildsystem.
   * Use uscan in get-orig-source target.
+  * Add patch to fix upstream version in pom.xml.
 
  -- Bas Couwenberg <sebastic at debian.org>  Fri, 27 Nov 2015 01:54:21 +0100
 
diff --git a/debian/patches/series b/debian/patches/series
index 53c9735..9bcf1f7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 add-classpath.patch
+upstream-version.patch
diff --git a/debian/patches/upstream-version.patch b/debian/patches/upstream-version.patch
new file mode 100644
index 0000000..15a57ad
--- /dev/null
+++ b/debian/patches/upstream-version.patch
@@ -0,0 +1,78 @@
+Description: Fix upsteam version in pom.xml.
+Author: Bas Couwenberg <sebastic at debian.org>
+
+--- a/jdbc/pom.xml
++++ b/jdbc/pom.xml
+@@ -5,11 +5,11 @@
+     <parent>
+         <groupId>net.postgis</groupId>
+         <artifactId>postgis-java-aggregator</artifactId>
+-        <version>2.2.1-SNAPSHOT</version>
++        <version>2.2.0</version>
+     </parent>
+ 
+     <artifactId>postgis-jdbc</artifactId>
+-    <version>2.2.1-SNAPSHOT</version>
++    <version>2.2.0</version>
+     <packaging>jar</packaging>
+ 
+     <name>Postgis JDBC Driver</name>
+--- a/jdbc_jtsparser/pom.xml
++++ b/jdbc_jtsparser/pom.xml
+@@ -5,11 +5,11 @@
+ 	<parent>
+ 		<groupId>net.postgis</groupId>
+ 		<artifactId>postgis-java-aggregator</artifactId>
+-		<version>2.2.1-SNAPSHOT</version>
++		<version>2.2.0</version>
+ 	</parent>
+ 
+ 	<artifactId>postgis-jdbc-jtsparser</artifactId>
+-	<version>2.2.1-SNAPSHOT</version>
++	<version>2.2.0</version>
+ 	<packaging>jar</packaging>
+ 
+     <name>Postgis JDBC Driver JTS Parser</name>
+--- a/pom.xml
++++ b/pom.xml
+@@ -4,7 +4,7 @@
+ 
+     <groupId>net.postgis</groupId>
+     <artifactId>postgis-java-aggregator</artifactId>
+-    <version>2.2.1-SNAPSHOT</version>
++    <version>2.2.0</version>
+     <packaging>pom</packaging>
+ 
+     <name>PostGIS Java Project</name>
+@@ -354,4 +354,4 @@
+         </profile>
+     </profiles>
+ 
+-</project>
+\ No newline at end of file
++</project>
+--- a/postgis-jdbc-java2d/pom.xml
++++ b/postgis-jdbc-java2d/pom.xml
+@@ -5,11 +5,11 @@
+     <parent>
+         <groupId>net.postgis</groupId>
+         <artifactId>postgis-java-aggregator</artifactId>
+-        <version>2.2.1-SNAPSHOT</version>
++        <version>2.2.0</version>
+     </parent>
+ 
+     <artifactId>postgis-jdbc-java2d</artifactId>
+-    <version>2.2.1-SNAPSHOT</version>
++    <version>2.2.0</version>
+     <packaging>jar</packaging>
+ 
+     <name>postgis-jdbc-java2d</name>
+@@ -27,7 +27,7 @@
+         <dependency>
+             <groupId>net.postgis</groupId>
+             <artifactId>postgis-jdbc</artifactId>
+-            <version>2.2.1-SNAPSHOT</version>
++            <version>2.2.0</version>
+         </dependency>
+     </dependencies>
+ 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/postgis-java.git



More information about the Pkg-grass-devel mailing list