[Fedora-packaging] Duplicate files

Orcan Ogetbil oget.fedora at gmail.com
Tue Nov 17 04:10:27 UTC 2009

On Sat, Nov 7, 2009 at 12:10 PM, Jason L Tibbitts III wrote:
> http://fedoraproject.org/wiki/Packaging:Guidelines#Duplicate_Files is
> pretty clear:
> ----
> Duplicate Files
> A Fedora package must not list a file more than once in the spec file's
> %files listings. If you think your package is a valid exception to this,
> please bring it to the attention of the Packaging Committee so they can
> improve on this Guideline.
> ----
> However, some packagers absolutely insist on duplicating license files
> (say, once in the main package, and again in the -devel package) and
> this issue keeps coming up.

Suppose the license of the corresponding software states that the
COPYING file must be distributed in all derived work of the software.
There is no problem with -devel packages since they pull the main
package and the COPYING file makes its way to the target. But what if
there is a -tools subpackage that does not require the main package?
When you install the -tools subpackage, the COPYING file will not get
installed. Thus the license is violated.

Where am I wrong?


More information about the Fedora-packaging mailing list