Bug#871423: How to fix
    Dominique Dumont 
    dod at debian.org
       
    Tue Aug 15 09:40:09 UTC 2017
    
    
  
There's 2 ways to fix this bug:
- either the value is replaced without warnings
- a warning is issued and the value is replaced when running cme fix dpkg
The first option can be done by ony changing dpkg model by using the warp 
mechanism to alter the behavior of priority parameter according to Standards-
Version value. Using 'cme meta edit' (from libconfig-model-itself-perl), you 
can :
- open Priority parameter in Dpkg::Control::Source
- setup a warp variable names std-version to '- Standards-Version`
- in formula, add a test to check Standards-Version (something like `$std-
version ge '4.0.1')
- in there, setup 'replace' parameter (see the online doc in cme meta window)
The second option may req	uire some rework on Config::Model. Please get back to 
me if this is needed.
-- 
 https://github.com/dod38fr/   -o- http://search.cpan.org/~ddumont/
http://ddumont.wordpress.com/  -o-   irc: dod at irc.debian.org
    
    
More information about the pkg-perl-maintainers
mailing list