[libconfig-model-dpkg-perl] 03/03: fix links to debian policy (Closes: #880607)

dod at debian.org dod at debian.org
Tue Dec 5 12:49:41 UTC 2017


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

dod pushed a commit to branch master
in repository libconfig-model-dpkg-perl.

commit 488306e0d6d3b5f428ae96efd5934d4ea798e317
Author: Dominique Dumont <dod at debian.org>
Date:   Tue Dec 5 13:46:54 2017 +0100

    fix links to debian policy (Closes: #880607)
---
 lib/Config/Model/models/Dpkg/Control/Source.pl | 19 ++++++++++++-------
 lib/Config/Model/models/Dpkg/PackageScripts.pl |  8 ++++----
 lib/Config/Model/models/Dpkg/Tests/Control.pl  |  2 +-
 3 files changed, 17 insertions(+), 12 deletions(-)

diff --git a/lib/Config/Model/models/Dpkg/Control/Source.pl b/lib/Config/Model/models/Dpkg/Control/Source.pl
index 715ad0f..28c5d79 100644
--- a/lib/Config/Model/models/Dpkg/Control/Source.pl
+++ b/lib/Config/Model/models/Dpkg/Control/Source.pl
@@ -7,7 +7,7 @@
 
 Fields in the main source control information file with names starting X, followed by one or more of the letters BCS and a hyphen -, will be copied to the output files. Only the part of the field name after the hyphen will be used in the output file. Where the letter B is used the field will appear in binary package control files, where the letter S is used in Debian source control files and where C is used in upload control (.changes) files.
 
-For details, see L<section 5.7 of Debian policy|https://www.debian.org/doc/debian-policy/ch-controlfields.html>',
+For details, see L<section 5.7 of Debian policy|https://www.debian.org/doc/debian-policy/#document-ch-controlfields>',
         'summary' => 'User defined field',
         'type' => 'leaf',
         'value_type' => 'string'
@@ -67,7 +67,8 @@ If the maintainer\'s name contains a full stop then the whole field will not wor
         'default' => '4.1.2',
         'description' => 'This field indicates the Debian policy version number this package complies to.
 
-Before updating this field, please read L<upgrading-checklist|https://www.debian.org/doc/debian-policy/#document-upgrading-checklist> to know what changes came with a new policy version number and apply the required changes (if any) to your package.',
+Before updating this field, please read L<upgrading-checklist|https://www.debian.org/doc/debian-policy/#document-upgrading-checklist>
+to know what changes came with a new policy version number and apply the required changes (if any) to your package.',
         'match' => '\\d+\\.\\d+\\.\\d+(\\.\\d+)?',
         'summary' => 'Debian policy version number this package complies to',
         'type' => 'leaf',
@@ -89,7 +90,7 @@ grouped further into sections to simplify handling.
 
 The archive area and section for each package should be specified in
 the package\'s Section control record (see 
-L<Section 5.6.5|http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Section>). 
+L<Section 5.6.5|http://www.debian.org/doc/debian-policy/#section>).
 However, the maintainer of the Debian archive may override
 this selection to ensure the consistency of the Debian
 distribution. The Section field should be of the form:
@@ -260,7 +261,8 @@ to build architecture-dependent binaries ("Architecture: any" or specific archit
 
 '.'=back
 
-Technically, these packages must be installed for the following build targets: clean, build-arch, and binary-arch. See L<build target|https://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules> doc and L<details on this field|https://www.debian.org/doc/debian-policy/ch-relationships.html#s-sourcebinarydeps>.
+Technically, these packages must be installed for the following build targets: clean, build-arch, and binary-arch.
+See L<build target|https://www.debian.org/doc/debian-policy/#relationships-between-source-and-binary-packages-build-depends-build-depends-indep-build-depends-arch-build-conflicts-build-conflicts-indep-build-conflicts-arch>.
 
 On the other hand, the list of packages that must be installed to build architecture-independent binaries ("Architecture: all") should be listed in "Build-Depends-Indep" field.
 
@@ -296,7 +298,8 @@ See L<deb-src-control man page|https://manpages.debian.org/unstable/dpkg-dev/deb
         'class' => 'Config::Model::Dpkg::DependencyList',
         'description' => 'List of packages that must be installed to build architecture-independent binaries ("Architecture: all").
 
-Technically, these packages must be installed for the following build targets: build, build-indep, binary, and binary-indep. See L<build target|https://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules> doc and L<details on this field|https://www.debian.org/doc/debian-policy/ch-relationships.html#s-sourcebinarydeps>.
+Technically, these packages must be installed for the following build targets: build, build-indep, binary, and binary-indep.
+See L<build target|https://www.debian.org/doc/debian-policy/#relationships-between-source-and-binary-packages-build-depends-build-depends-indep-build-depends-arch-build-conflicts-build-conflicts-indep-build-conflicts-arch>.
 
 Note that packages required during "clean" phase must be declared in "Build-Depends" field.',
         'duplicates' => 'warn',
@@ -324,7 +327,8 @@ to build architecture-dependent binaries ("Architecture: any" or specific archit
 
 '.'=back
 
-Technically, these packages must B<not> be installed for the following build targets: clean, build-arch, and binary-arch. See L<build target|https://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules> doc and L<details on this field|https://www.debian.org/doc/debian-policy/ch-relationships.html#s-sourcebinarydeps>.
+Technically, these packages must B<not> be installed for the following build targets: clean, build-arch, and binary-arch.
+See L<build target|https://www.debian.org/doc/debian-policy/#relationships-between-source-and-binary-packages-build-depends-build-depends-indep-build-depends-arch-build-conflicts-build-conflicts-indep-build-conflicts-arch>.
 
 On the other hand, the list of packages that must B<not> be installed to build architecture-independent binaries ("Architecture: all") should be listed in "Build-Conflicts-Indep" field.
 
@@ -358,7 +362,8 @@ See L<deb-src-control man page|https://manpages.debian.org/unstable/dpkg-dev/deb
         'class' => 'Config::Model::Dpkg::DependencyList',
         'description' => 'List of packages that must be missing (i.e. B<not> installed) to build binaries with arch set to "all.
 
-Technically, these packages must B<not> be installed for the following build targets: build, build-indep, binary, and binary-indep. See L<build target|https://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules> doc and L<details on this field|https://www.debian.org/doc/debian-policy/ch-relationships.html#s-sourcebinarydeps>.
+Technically, these packages must B<not> be installed for the following build targets: build, build-indep, binary, and binary-indep.
+See L<build target|https://www.debian.org/doc/debian-policy/#relationships-between-source-and-binary-packages-build-depends-build-depends-indep-build-depends-arch-build-conflicts-build-conflicts-indep-build-conflicts-arch>.
 
 Note that packages not wanted during "clean" phase must be declared in "Build-Conflicts" field.',
         'duplicates' => 'warn',
diff --git a/lib/Config/Model/models/Dpkg/PackageScripts.pl b/lib/Config/Model/models/Dpkg/PackageScripts.pl
index 8097f68..8422690 100644
--- a/lib/Config/Model/models/Dpkg/PackageScripts.pl
+++ b/lib/Config/Model/models/Dpkg/PackageScripts.pl
@@ -3,28 +3,28 @@
     'element' => [
       'preinst',
       {
-        'description' => 'For details, see L<Debian Policy|https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html>',
+        'description' => 'For details, see L<Debian Policy|https://www.debian.org/doc/debian-policy/#document-ch-maintainerscripts>',
         'summary' => 'script called before a package is unpacked',
         'type' => 'leaf',
         'value_type' => 'string'
       },
       'postinst',
       {
-        'description' => 'For details, see L<Debian Policy|https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html>',
+        'description' => 'For details, see L<Debian Policy|https://www.debian.org/doc/debian-policy/#document-ch-maintainerscripts>',
         'summary' => 'script called after a package is unpacked',
         'type' => 'leaf',
         'value_type' => 'string'
       },
       'prerm',
       {
-        'description' => 'For details, see L<Debian Policy|https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html>',
+        'description' => 'For details, see L<Debian Policy|https://www.debian.org/doc/debian-policy/#document-ch-maintainerscripts>',
         'summary' => 'script called before a package is removed',
         'type' => 'leaf',
         'value_type' => 'string'
       },
       'postrm',
       {
-        'description' => 'For details, see L<Debian Policy|https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html>',
+        'description' => 'For details, see L<Debian Policy|https://www.debian.org/doc/debian-policy/#document-ch-maintainerscripts>',
         'summary' => 'script called after a package is removed',
         'type' => 'leaf',
         'value_type' => 'string'
diff --git a/lib/Config/Model/models/Dpkg/Tests/Control.pl b/lib/Config/Model/models/Dpkg/Tests/Control.pl
index ea0a1c2..17a133a 100644
--- a/lib/Config/Model/models/Dpkg/Tests/Control.pl
+++ b/lib/Config/Model/models/Dpkg/Tests/Control.pl
@@ -60,7 +60,7 @@ Please use this considerately, as for large builds it unnecessarily builds the e
       'Depends',
       {
         'default' => '@',
-        'description' => 'Declares that the specified packages must be installed for the test to go ahead. This supports all features of dpkg dependencies (see L<https://www.debian.org/doc/debian-policy/ch-relationships.html>), plus the following extensions:
+        'description' => 'Declares that the specified packages must be installed for the test to go ahead. This supports all features of dpkg dependencies (see L<https://www.debian.org/doc/debian-policy/#document-ch-relationships>), plus the following extensions:
 
 @ stands for the package(s) generated by the source package containing the tests; each dependency (strictly, or-clause, which may contain |s but not commas) containing @ is replicated once for each such binary package, with the binary package name substituted for each @ (but normally @ should occur only once and without a version restriction).
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git



More information about the Pkg-perl-cvs-commits mailing list