[libconfig-model-dpkg-perl] 02/03: replace Priority extra with optional (Closes: #871423)
dod at debian.org
dod at debian.org
Thu Sep 28 18:43:06 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 47040f00abf3aa0f5fc6bccb7df4c4710d0435c6
Author: Dominique Dumont <dod at debian.org>
Date: Thu Sep 28 20:40:21 2017 +0200
replace Priority extra with optional (Closes: #871423)
only when Standards-Version >= 4.0.1
Requires Config;:Model 2.112 to work correctly
---
lib/Config/Model/models/Dpkg/Control/Source.pl | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/lib/Config/Model/models/Dpkg/Control/Source.pl b/lib/Config/Model/models/Dpkg/Control/Source.pl
index 51f04c0..940622c 100644
--- a/lib/Config/Model/models/Dpkg/Control/Source.pl
+++ b/lib/Config/Model/models/Dpkg/Control/Source.pl
@@ -217,7 +217,20 @@ in Debian developer reference.',
'standard' => 'These packages provide a reasonably small but not too limited character-mode system. This is what will be installed by default if the user doesn\'t select anything else. It doesn\'t include many large applications. '
},
'type' => 'leaf',
- 'value_type' => 'enum'
+ 'value_type' => 'enum',
+ 'warp' => {
+ 'follow' => {
+ 'std_ver' => '- Standards-Version'
+ },
+ 'rules' => [
+ '$std_ver ge \'4.0.1\'',
+ {
+ 'replace' => {
+ 'extra' => 'optional'
+ }
+ }
+ ]
+ }
},
'Build-Depends',
{
--
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