Michael Schwendt wrote:
On Sat, 14 Feb 2009 23:38:18 +0200, Ville wrote:
> On Saturday 14 February 2009, Toshio Kuratomi wrote:
>
>> """
>> A Fedora package must not list a file more than once in the spec file's
>> %files listings.
>> """
> This would mean that tiny -common subpackages containing for example
> only "%doc README COPYING" and perhaps a common base dir and/or a common
> config file would have to be always created if a specfile creates two
> otherwise independent binary packages. Is that really always desirable?
For a MUST item in the guidelines, it is much too short and vague.
How about:
In a Fedora package .spec file, any of the files/dirs installed in
the buildroot must not be included in the package(s) %files lists more
than once. Unless there is good reason, and in that case there ought to
be a comment in the .spec file.
What's an example of a good reason?
(For instance, I want to know if including README/COPYING in multiple
subpackages is best practice or should be frowned upon).
-Toshio