[Fedora-packaging] Guidelines#DuplicateFiles clarification

Toshio Kuratomi a.badger at gmail.com
Sun Feb 15 18:59:30 UTC 2009


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-packaging/attachments/20090215/dd0b8400/attachment.sig>


More information about the Fedora-packaging mailing list