[libconfig-model-dpkg-perl] 01/02: Trigger warning 'Synopsis is too long.' only for >= 80 characters.

gregor herrmann gregoa at debian.org
Fri Oct 10 14:32:02 UTC 2014


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

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

commit cc7ea679f5400695baf37a7eb117d0ab0890d344
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri Oct 10 16:30:46 2014 +0200

    Trigger warning 'Synopsis is too long.' only for >= 80 characters.
    
    Cf. Debian Policy 3.4.1, DEP3, and lintian.
---
 lib/Config/Model/models/Dpkg/Control/Binary.pl | 2 +-
 lib/Config/Model/models/Dpkg/Patch.pl          | 2 +-
 t/model_tests.d/dpkg-control-examples/t1       | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/Config/Model/models/Dpkg/Control/Binary.pl b/lib/Config/Model/models/Dpkg/Control/Binary.pl
index 907a777..1bb02ad 100644
--- a/lib/Config/Model/models/Dpkg/Control/Binary.pl
+++ b/lib/Config/Model/models/Dpkg/Control/Binary.pl
@@ -234,7 +234,7 @@ A package including binaries from grub2 and loadlin would have this field in its
         'type' => 'leaf',
         'value_type' => 'uniline',
         'warn_if_match' => {
-          '.{60,}' => {
+          '.{80,}' => {
             'msg' => 'Synopsis is too long. '
           }
         }
diff --git a/lib/Config/Model/models/Dpkg/Patch.pl b/lib/Config/Model/models/Dpkg/Patch.pl
index ab5e1bb..b383210 100644
--- a/lib/Config/Model/models/Dpkg/Patch.pl
+++ b/lib/Config/Model/models/Dpkg/Patch.pl
@@ -20,7 +20,7 @@ field',
         'type' => 'leaf',
         'value_type' => 'uniline',
         'warn_if_match' => {
-          '.{60,}' => {
+          '.{80,}' => {
             'msg' => 'Synopsis is too long. '
           }
         },
diff --git a/t/model_tests.d/dpkg-control-examples/t1 b/t/model_tests.d/dpkg-control-examples/t1
index 213f8e4..daca4d6 100644
--- a/t/model_tests.d/dpkg-control-examples/t1
+++ b/t/model_tests.d/dpkg-control-examples/t1
@@ -15,7 +15,7 @@ Package: seaview
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Recommends: clustalw, muscle, phyml
-Description: Multiplatform interface for sequence alignment and phylogeny
+Description: Multiplatform interface for reading and writing sequence alignment and phylogeny
  SeaView reads and writes various file formats (NEXUS, MSF, CLUSTAL, FASTA,
  PHYLIP, MASE, Newick) of DNA and protein sequences and of phylogenetic trees.
  Alignments can be manually edited. It drives the programs Muscle or Clustal W

-- 
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