Sugar Network/Recipe Specification: Difference between revisions

Line 231: Line 231:
Zero Sugar spec file options, like ''requires'', contain links to another packages. Followed link formats are supported:
Zero Sugar spec file options, like ''requires'', contain links to another packages. Followed link formats are supported:


* current package to upload to ''target'' repository (the first option is preferable),
* current package to upload to ''target'' repository (instead of direct slug value, to make spec file more robust, move ''slug'' option to [DEFAULT] section and use {{Code|%(slug)s}} interpolation),
%(slug)s[/<nowiki><sub-package></nowiki>]
  <slug-value>[/<nowiki><sub-package></nowiki>]
  <slug-value>[/<nowiki><sub-package></nowiki>]