Sugar Network/Recipe Specification: Difference between revisions
| Line 268: | Line 268: | ||
== Sub packages == | == Sub packages == | ||
By default, package | By default, package is the singular and will be composed using ''[Package]'' or/and ''[Activity]'' sections. But the service can have sub-packages, as well, in that case, spec file should contain additional sections (per sub feed) in the form: | ||
[<nowiki> | [Package/<nowiki><sub-package></nowiki>] | ||
Format of sub sections is identical to ''[ | Format of sub sections is identical to ''[Package]'' section. Sub packages could make sense, e.g., for combining non-arch data and pure binaries, or to separate runtime and buildtime data. | ||
Other packages can mention sub packages by format: | |||
<package>/<nowiki><sub-package></nowiki> | |||
The good practise is using followed names for sub packages: | |||
* ''data'' for non-arch sub packages, | |||
* ''devel'' for sub packages with buildtime data like C header files. | |||
== Recipes == | == Recipes == | ||