[postgis] 01/02: Drop the transitional postgresql-X.Y-postgis-2.0-script package.

Markus Wanner markus_wanner-guest at moszumanska.debian.org
Tue Sep 29 18:24:01 UTC 2015


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

markus_wanner-guest pushed a commit to branch experimental
in repository postgis.

commit 56a03d5b2c46989b02bc20d2a4ca7f8ed9302da2
Author: Markus Wanner <markus at bluegap.ch>
Date:   Sat Sep 26 16:18:53 2015 +0200

    Drop the transitional postgresql-X.Y-postgis-2.0-script package.
---
 debian/changelog              |  6 ++++++
 debian/control.postgis-2.0.in | 10 ----------
 debian/rules                  | 12 +-----------
 3 files changed, 7 insertions(+), 21 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b279e72..7351fe0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+postgis (2.2.0~rc1+dfsg-1~exp2) UNRELEASED; urgency=medium
+
+  * Drop the transitional postgresql-X.Y-postgis-2.0-script package.
+
+ -- Markus Wanner <markus at bluegap.ch>  Sat, 26 Sep 2015 16:15:33 +0200
+
 postgis (2.2.0~rc1+dfsg-1~exp1) experimental; urgency=medium
 
   [ Markus Wanner ]
diff --git a/debian/control.postgis-2.0.in b/debian/control.postgis-2.0.in
deleted file mode 100644
index 2b9a8ee..0000000
--- a/debian/control.postgis-2.0.in
+++ /dev/null
@@ -1,10 +0,0 @@
-Package: postgresql-PGVERSION-postgis-2.0-scripts
-Architecture: all
-Depends: ${misc:Depends}
-Description: PostGIS 2.0 for PostgreSQL PGVERSION -- scripts -- dummy package
- This package contained the scripts for PostGIS version 2.0, that's
- now deprecated. It extended PostgreSQL PGVERSION.
- .
- This is a transitional dummy package. It can safely be removed
- together with the dependent postgresql-PGVERSION-postgis package.
-
diff --git a/debian/rules b/debian/rules
index c9f205d..a6736bb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,10 +31,6 @@ ifneq (,$(findstring $(DEB_HOST_ARCH),"hurd-i386 mipsel"))
 	CHECK =
 endif
 
-# PostgreSQL versions supported by PostGIS 2.0 - for automatic
-# generation of transitional -scripts packages.
-POSTGIS_2_0_PGVERS = 8.4 9.0 9.1 9.2
-
 # Magic to automatically create a debian/control file for the (or all)
 # supported versions of Postgres.
 #
@@ -42,21 +38,15 @@ POSTGIS_2_0_PGVERS = 8.4 9.0 9.1 9.2
 # /usr/share/postgresql-common/pgxs_debian_control.mk and extended to
 # support NEWEST_VERSION and fiddle with postgis 2.0 transitional
 # packages.
-debian/control: debian/control.in debian/pgversions \
-			debian/control.postgis-2.0.in
+debian/control: debian/control.in debian/pgversions
 	(set -e; \
 	VERSIONS=`pg_buildext supported-versions $(CURDIR)` || exit $$?; \
 	NEWEST_VERSION=`pg_buildext supported-versions $(CURDIR) | tail -1` || exit $$?; \
-	POSTGIS_2_0_PGVERS="$(POSTGIS_2_0_PGVERS)" ; \
 	grep-dctrl -vP PGVERSION $< | \
 		sed -e "s:NEWEST_PGVERSION:$$NEWEST_VERSION:" > $@.pgxs_tmp; \
 	for v in $$VERSIONS; do \
 		grep-dctrl -P PGVERSION $<      \
 			| sed -e "s:PGVERSION:$$v:" >> $@.pgxs_tmp; \
-		if test "$${POSTGIS_2_0_PGVERS#*$$v}" != "$${POSTGIS_2_0_PGVERS}" ; then \
-			grep-dctrl -P PGVERSION debian/control.postgis-2.0.in \
-			| sed -e "s:PGVERSION:$$v:" >> $@.pgxs_tmp; \
-		fi; \
 	done; \
 	mv $@.pgxs_tmp $@) || (rm -f $@.pgxs_tmp; exit 1)
 

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



More information about the Pkg-grass-devel mailing list