[Fedora-packaging] Guidelines#DuplicateFiles clarification

Michael Schwendt mschwendt at gmail.com
Sun Feb 15 09:09:29 UTC 2009

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.

More information about the Fedora-packaging mailing list