The following commit has been merged in the master branch: commit 9918caf61e4c371a5fd5ff14961401e9c55938ab Author: Markus Wanner <mar...@bluegap.ch> Date: Thu Sep 26 08:47:56 2013 +0200
Add transitional postgis-2.0-scripts packages for all Pg versions ever supported. These effectively remove scripts and the postgis.control file prior to installing a newer *-postgis-2.1-scrips package, which Breaks+Replaces it. diff --git a/debian/changelog b/debian/changelog index 0f17409..fc6335e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,9 @@ postgis (2.1.0-3) UNRELEASED; urgency=low + * Add transitional postgis-2.0-scripts packages for all Pg versions ever + supported. These effectively remove scripts and the postgis.control + file prior to installing a newer *-postgis-2.1-scrips package, which + Breaks+Replaces it. * Update patch upstream-r11934 to cover rev 11979, instead. It seems to be a more thorough fix. Add minor-r11979-correction patch to account for some new WARNINGs, that didn't appear, before. diff --git a/debian/control b/debian/control index 316cc4f..3ebcf17 100644 --- a/debian/control +++ b/debian/control @@ -101,101 +101,41 @@ Description: PostGIS "Lightweight Geometry" library - Development files processing functions, are implemented here. This package contains the development files. -Package: postgresql-9.0-postgis-2.1 -Depends: ${shlibs:Depends}, postgresql-9.0, - postgresql-9.0-postgis-2.1-scripts, liblwgeom-2.1.0, - ${misc:Depends} -Recommends: postgis -Breaks: postgis (<< 1.2.1) -Architecture: any -Description: Geographic objects support for PostgreSQL 9.0 - 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". - . - This package supports PostgreSQL 9.0. - -Package: postgresql-9.0-postgis-2.1-scripts +Package: postgresql-8.4-postgis-2.0-scripts Architecture: all Depends: ${misc:Depends} -Recommends: postgresql-9.0-postgis-2.1 -Description: Geographic objects support for PostgreSQL 9.0 -- scripts - 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". +Description: PostGIS for PostgreSQL 8.4 -- scripts -- dummy package + This package contained the scripts for PostGIS version 2.0, that's + now deprecated. It extended PostgreSQL 8.4. . - This package contains SQL scripts to upgrade from earlier PostGIS - versions for PostgreSQL 9.0 as well as Perl utility scripts. + This is a transitional dummy package. It can safely be removed. -Package: postgresql-9.1-postgis-2.1 -Depends: ${shlibs:Depends}, postgresql-9.1, - postgresql-9.1-postgis-2.1-scripts, liblwgeom-2.1.0, - ${misc:Depends} -Recommends: postgis -Breaks: postgis (<< 1.2.1) -Architecture: any -Description: Geographic objects support for PostgreSQL 9.1 - 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". - . - This package supports PostgreSQL 9.1. - -Package: postgresql-9.1-postgis-2.1-scripts +Package: postgresql-9.0-postgis-2.0-scripts Architecture: all Depends: ${misc:Depends} -Recommends: postgresql-9.1-postgis-2.1 -Description: Geographic objects support for PostgreSQL 9.1 -- scripts - 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". +Description: PostGIS for PostgreSQL 9.0 -- scripts -- dummy package + This package contained the scripts for PostGIS version 2.0, that's + now deprecated. It extended PostgreSQL 9.0. . - This package contains SQL scripts to upgrade from earlier PostGIS - versions for PostgreSQL 9.1 as well as Perl utility scripts. + This is a transitional dummy package. It can safely be removed. -Package: postgresql-9.2-postgis-2.1 -Depends: ${shlibs:Depends}, postgresql-9.2, - postgresql-9.2-postgis-2.1-scripts, liblwgeom-2.1.0, - ${misc:Depends} -Recommends: postgis -Breaks: postgis (<< 1.2.1) -Architecture: any -Description: Geographic objects support for PostgreSQL 9.2 - 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". +Package: postgresql-9.1-postgis-2.0-scripts +Architecture: all +Depends: ${misc:Depends} +Description: PostGIS for PostgreSQL 9.1 -- scripts -- dummy package + This package contained the scripts for PostGIS version 2.0, that's + now deprecated. It extended PostgreSQL 9.1. . - This package supports PostgreSQL 9.2. + This is a transitional dummy package. It can safely be removed. -Package: postgresql-9.2-postgis-2.1-scripts +Package: postgresql-9.2-postgis-2.0-scripts Architecture: all Depends: ${misc:Depends} -Recommends: postgresql-9.2-postgis-2.1 -Description: Geographic objects support for PostgreSQL 9.2 -- scripts - 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". +Description: PostGIS for PostgreSQL 9.2 -- scripts -- dummy package + This package contained the scripts for PostGIS version 2.0, that's + now deprecated. It extended PostgreSQL 9.2. . - This package contains SQL scripts to upgrade from earlier PostGIS - versions for PostgreSQL 9.2 as well as Perl utility scripts. + This is a transitional dummy package. It can safely be removed. Package: postgresql-9.3-postgis-2.1 Depends: ${shlibs:Depends}, postgresql-9.3, @@ -218,6 +158,8 @@ Package: postgresql-9.3-postgis-2.1-scripts Architecture: all Depends: ${misc:Depends} Recommends: postgresql-9.3-postgis-2.1 +Replaces: postgresql-9.3-postgis-2.0-scripts (<< 2.1.0~) +Breaks: postgresql-9.3-postgis-2.0-scripts (<< 2.1.0~) Description: Geographic objects support for PostgreSQL 9.3 -- scripts PostGIS adds support for geographic objects to the PostgreSQL object-relational database. In effect, PostGIS "spatially enables" diff --git a/debian/control.in b/debian/control.in index e3ab48c..7c4b857 100644 --- a/debian/control.in +++ b/debian/control.in @@ -122,6 +122,8 @@ Package: postgresql-PGVERSION-postgis-2.1-scripts Architecture: all Depends: ${misc:Depends} Recommends: postgresql-PGVERSION-postgis-2.1 +Replaces: postgresql-PGVERSION-postgis-2.0-scripts (<< 2.1.0~) +Breaks: postgresql-PGVERSION-postgis-2.0-scripts (<< 2.1.0~) Description: Geographic objects support for PostgreSQL PGVERSION -- scripts PostGIS adds support for geographic objects to the PostgreSQL object-relational database. In effect, PostGIS "spatially enables" @@ -132,3 +134,39 @@ Description: Geographic objects support for PostgreSQL PGVERSION -- scripts . This package contains SQL scripts to upgrade from earlier PostGIS versions for PostgreSQL PGVERSION as well as Perl utility scripts. + +Package: postgresql-8.4-postgis-2.0-scripts +Architecture: all +Depends: ${misc:Depends} +Description: PostGIS for PostgreSQL 8.4 -- scripts -- dummy package + This package contained the scripts for PostGIS version 2.0, that's + now deprecated. It extended PostgreSQL 8.4. + . + This is a transitional dummy package. It can safely be removed. + +Package: postgresql-9.0-postgis-2.0-scripts +Architecture: all +Depends: ${misc:Depends} +Description: PostGIS for PostgreSQL 9.0 -- scripts -- dummy package + This package contained the scripts for PostGIS version 2.0, that's + now deprecated. It extended PostgreSQL 9.0. + . + This is a transitional dummy package. It can safely be removed. + +Package: postgresql-9.1-postgis-2.0-scripts +Architecture: all +Depends: ${misc:Depends} +Description: PostGIS for PostgreSQL 9.1 -- scripts -- dummy package + This package contained the scripts for PostGIS version 2.0, that's + now deprecated. It extended PostgreSQL 9.1. + . + This is a transitional dummy package. It can safely be removed. + +Package: postgresql-9.2-postgis-2.0-scripts +Architecture: all +Depends: ${misc:Depends} +Description: PostGIS for PostgreSQL 9.2 -- scripts -- dummy package + This package contained the scripts for PostGIS version 2.0, that's + now deprecated. It extended PostgreSQL 9.2. + . + This is a transitional dummy package. It can safely be removed. -- PostGIS for PostgreSQL _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel