[libconfig-model-dpkg-perl] 02/11: Section default value is 'misc'
dod at debian.org
dod at debian.org
Mon Jul 11 18:23:20 UTC 2016
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 99755cf02263c98a623e834a864a89fcb905aadf
Author: Dominique Dumont <dod at debian.org>
Date: Fri Jul 8 18:51:41 2016 +0200
Section default value is 'misc'
---
lib/Config/Model/models/Dpkg/Control/Source.pl | 1 +
t/model_tests.d/dpkg-control-test-conf.pl | 3 ---
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/lib/Config/Model/models/Dpkg/Control/Source.pl b/lib/Config/Model/models/Dpkg/Control/Source.pl
index 7834d7d..d1ef1f4 100644
--- a/lib/Config/Model/models/Dpkg/Control/Source.pl
+++ b/lib/Config/Model/models/Dpkg/Control/Source.pl
@@ -58,6 +58,7 @@ If the maintainer\'s name contains a full stop then the whole field will not wor
},
'Section',
{
+ 'default' => 'misc',
'description' => 'The packages in the archive areas main, contrib and non-free are
grouped further into sections to simplify handling.
diff --git a/t/model_tests.d/dpkg-control-test-conf.pl b/t/model_tests.d/dpkg-control-test-conf.pl
index 7524b7a..1303461 100644
--- a/t/model_tests.d/dpkg-control-test-conf.pl
+++ b/t/model_tests.d/dpkg-control-test-conf.pl
@@ -87,21 +87,18 @@ providing the following file:
# t4
check => { 'source X-Python-Version' => ">= 2.3, << 2.5" },
load_warnings => [ (qr/deprecated/) x 1 ],
- dump_warnings => [ qr/empty/ ],
},
{
# t5
check => { 'source X-Python-Version' => ">= 2.3, << 2.6" },
load_warnings => [ (qr/deprecated/) x 1],
- dump_warnings => [ qr/empty/ ],
},
{
# t6
check => { 'source X-Python-Version' => ">= 2.3" },
load_warnings => [ (qr/deprecated/) x 1 ],
- dump_warnings => [ qr/empty/ ],
},
{
name => 'sdlperl',
--
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