[postgis] 01/01: Re-rename the -scripts package to include the postgis version for easier upgrading.

Bas Couwenberg sebastic at xs4all.nl
Mon May 30 07:29:41 UTC 2016


Hi Markus,

Thanks for your work on this, I noticed a few minor issues though.

On 2016-05-30 09:09, Markus Wanner wrote:
>  Package: postgresql-9.5-postgis-2.2
>  Depends: ${shlibs:Depends}, postgresql-9.5,
> - postgresql-9.5-postgis-scripts, liblwgeom-2.2-5,
> + postgresql-9.5-postgis-2.2-scripts, liblwgeom-2.2-5,
>   ${misc:Depends}
>  Recommends: postgresql-contrib-9.5
>  Suggests: postgis
> @@ -118,14 +118,12 @@ Description: Geographic objects support for 
> PostgreSQL 9.5
>   .
>   This package supports PostgreSQL 9.5.
> 
> -Package: postgresql-9.5-postgis-scripts
> +Package: postgresql-9.5-postgis-2.2-scripts
>  Architecture: all
>  Depends: ${misc:Depends}
> -Recommends: postgresql-9.5-postgis-2.2
> -Replaces: postgresql-9.5-postgis-2.0-scripts (<< 2.1.0~),
> - postgresql-9.5-postgis-2.1-scripts (<< 2.1.0-4~)
> -Breaks: postgresql-9.5-postgis-2.0-scripts (<< 2.1.0~),
> - postgresql-9.5-postgis-2.1-scripts (<< 2.1.0-4~)
> +Recommends: postgresql-9.5-postgis

The version should not be dropped from the -postgis package, that should 
remain:

  Recommends: postgresql-9.5-postgis-2.2

> +Replaces: postgresql-9.5-postgis-scripts,
> +Breaks: postgresql-9.5-postgis-scripts

Breaks/Replaces needs to use a version constraint. The following should 
be sufficient:

  Replaces: postgresql-9.5-postgis-scripts (<< 2.2.2+dfsg-3~)
  Breaks: postgresql-9.5-postgis-scripts (<< 2.2.2+dfsg-3~)

Kind Regards,

Bas



More information about the Pkg-grass-devel mailing list