From: Daniel M. <dm...@ne...> - 2005-08-01 06:35:06
|
Modified Files: packaging.en.xml Log Message: Prohibit common %n as splitoff of multiple parents. RCS file: /cvsroot/fink/web/xml/packaging/packaging.en.xml,v --- packaging.en.xml 1 Aug 2005 06:22:01 -0000 1.77 +++ packaging.en.xml 1 Aug 2005 06:23:58 -0000 1.78 @@ -2830,6 +2830,22 @@ be modified by declaring the field within the <code>SplitOff</code> or <code>SplitOff<em>N</em></code>.</li> </ul> <p> +Because %n-%v-%r is treated as the unique identifier of a package, you +must not have the same <code>Package</code> (at the +same <code>Version</code> and <code>Revision</code>) listed as +a <code>SplitOff</code> (or <code>SplitOff<em>N</em></code>) of +multiple packages. If you use variants, remember that each variant is +considered an independent package, so the following package layout is +forbidden: +</p> +<codeblock> +Package: mime-base64-pm%type_pkg[perl] +Type: perl (5.8.1 5.8.6) +SplitOff: %lt;%lt; + Package: mime-base64-pm-bin +%lt;%lt; +</codeblock> +<p> During the install phase, the <code>InstallScript</code> and <code>DocFiles</code> of the parent package are executed first. Next comes processing of the <code>SplitOff</code> and <code>SplitOff<em>N</em></code> fields. For each such field in turn, the <code>Files</code> command causes the listed files and directories |