X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=perl-policy.sgml;h=4f34758e8f458aeb0248f575dd4a548dccb4523b;hb=108643af6584287c922c8fef6f50d5f9d9f53145;hp=1421b46892a622124e0803da2a1a57daf0455f58;hpb=bb27c26983818b9fd4ee8bcca705c0381c47010a;p=debian%2Fdebian-policy.git
diff --git a/perl-policy.sgml b/perl-policy.sgml
index 1421b46..4f34758 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}.
@@ -103,18 +106,18 @@
the binary and a basic set of modules.
- As Perl is currently used by such things as
- update-alternatives and some package maintainer
- scripts, it must be priority required and marked as
- essential.
+ As Perl has been part of the essential set for some time and is
+ used without dependencies by such things as package maintainer
+ scripts, perl-base must be
+ priority required and marked as essential.
Note that the perl-base package is intended
only to provide for exceptional circumstances and the contents
- may change. In general only packages which form part of the
- base system should declare a dependency on
- perl-base rather than
- perl.
+ may change. In general, only packages which form part of the
+ base system should use only the facilities
+ of perl-base rather than declaring a
+ dependency on perl.
@@ -313,16 +316,12 @@ $(MAKE) OPTIMIZE="-O2 -g -Wall"
and this one to install the results into the temporary tree:
-$(MAKE) install PREFIX=$(CURDIR)/debian/<tmp>/usr
+$(MAKE) install DESTDIR=$(CURDIR)/debian/<tmp>
Replace <tmp> with the appropriate directory
(nominally just tmp)
-
- A Build-Depends on perl (>= 5.6.0-16) is
- required.
-
@@ -342,13 +341,6 @@ $(MAKE) install PREFIX=$(CURDIR)/debian/<tmp>/usr
the minimum required version, or more simply the current
version.
-
- In the absence of an explicit requirement,
- architecture-independent modules must depend on a minimum
- perl or perl-base
- version of 5.6.0-16 due to the changes in
- @INC introduced by that version.
-
@@ -359,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.