From cc34dcc02a40f462b6ed38a568be624cf4c1f9c5 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Thu, 3 Jun 2010 10:04:11 -0700 Subject: [PATCH] Perl Policy: Change perlapi provides to use an ABI version Perl now provides perlapi- where may be more than just the version of Perl. Packages must update their dependencies accordingly, using $Config{debian_abi} to form the package dependency if set and falling back on $Config{version} otherwise. --- debian/changelog | 6 ++++++ perl-policy.sgml | 12 ++++++++---- upgrading-checklist.sgml | 7 +++++++ 3 files changed, 21 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index fbd6097..1f4831e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -32,6 +32,12 @@ debian-policy (3.8.5.0) UNRELEASED; urgency=low Seconded: Raphael Hertzog Seconded: Guillem Jover Closes: #562506 + * Perl Policy: Change perlapi provides to use an ABI version + Wording: Niko Tyni + Seconded: Russ Allbery + Seconded: Brendan O'Dea + Seconded: Damyan Ivanov + Closes: #579457 * Standardize dpkg state wording and bring it in line with dpkg, renaming Failed-Config to Half-Configured and use uniform capitalization and punctuation. (Closes: #442134) diff --git a/perl-policy.sgml b/perl-policy.sgml index ef1fbe6..58c3332 100644 --- a/perl-policy.sgml +++ b/perl-policy.sgml @@ -89,8 +89,11 @@

The perl-base package must provide - perlapi-version for all released - versions it is compatible with. + perlapi-abiname for all released + package versions it is compatible with. The choice of + abiname is arbitrary, but if it differs from + $Config{version}, it must be specified in + $Config{debian_abi}.

@@ -348,8 +351,9 @@ $(MAKE) install PREFIX=$(CURDIR)/debian/<tmp>/usr a minimum version of the perl package used to build the module, and must additionally depend on the expansion of - perlapi-$Config{version} using - the Config module. + perlapi-$Config{debian_abi} using + the Config module. If $Config{debian_abi} + is empty or not set, $Config{version} must be used.

diff --git a/upgrading-checklist.sgml b/upgrading-checklist.sgml index 91b4e17..0d3ca56 100644 --- a/upgrading-checklist.sgml +++ b/upgrading-checklist.sgml @@ -47,6 +47,13 @@ Release Jun 2010. init.d scripts are a possible exception from the normal requirement to use set -e in each shell script. +perl + perl-base now + provides perlapi-abiname instead of a + package based solely on the Perl version. Perl packages must now depend + on perlapi-$Config{debian_abi}, falling back + on $Config{version} if $Config{debian_abi} is not set. +

Version 3.8.4.0 -- 2.39.2