~ubuntu-branches/debian/sid/libconfig-model-dpkg-perl/sid

« back to all changes in this revision

Viewing changes to lib/Config/Model/models/Dpkg/Control/Binary.pl

  • Committer: Package Import Robot
  • Author(s): Dominique Dumont
  • Date: 2014-10-07 21:09:03 UTC
  • Revision ID: package-import@ubuntu.com-20141007210903-pqodfyx4umpr0jv6
Tags: 2.057
Dpkg::Dependency: support new build profile syntax.
Tx Johannes Schauer (Closes: #763772)

Show diffs side-by-side

added added

removed removed

Lines of Context:
304
304
      },
305
305
      'Build-Profiles',
306
306
      {
307
 
        'description' => 'A space-separated list of optionally negated profile names',
308
 
        'match' => '[!]?[a-z][a-z0-9-]*(\\s+[!]?[a-z][a-z0-9-]*)*',
 
307
        'description' => 'A list of lists of (optionally negated) profile names, forming a conjunctive normal form expression in the same syntax as in the Build-Depends field',
 
308
        'match' => '<!?[a-z0-9]+(?:\s+!?[a-z0-9]+)*>(?:\s+<!?[a-z0-9]+(?:\s+!?[a-z0-9]+)*>)*',
309
309
        'type' => 'leaf',
310
310
        'value_type' => 'uniline'
311
311
      }