From 1bd10a781094fcf180f8563816b4001029bc3165 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Oct 14 2021 18:42:38 +0000 Subject: Remove Duplicate Files subsection This removes the contradictory portion of the DUplicate Files subsection and moves the remainder (regarding license texts) up to a more reasonable position. The section still needs work and is large enough to live in a separate document, but that will come later. Fixes #1099 --- diff --git a/guidelines/modules/ROOT/pages/index.adoc b/guidelines/modules/ROOT/pages/index.adoc index cb829cc..732efe4 100644 --- a/guidelines/modules/ROOT/pages/index.adoc +++ b/guidelines/modules/ROOT/pages/index.adoc @@ -2422,6 +2422,13 @@ identical files are defined as files which are always identical in content, checksum, permissions, and location on the filesystem in each package. +One notable type of file that is often shared identically between subpackages +is the license text. +There are certain situations where it is required to duplicate the license text +across multiple %files section within a package. +For more details, please refer to +xref:LicensingGuidelines.adoc#subpackage-licensing[Subpackage Licensing]. + Directory ownership is a little more complex than file ownership. Packages must own all directories they put files in, except for: @@ -2531,20 +2538,6 @@ So the `+perl-A-B+` package needs to own as well as /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/A/B in order to maintain proper ownership. -=== 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. - -One notable exception to this rule is around license texts. -There are certain situations where it is required to duplicate the license text -across multiple %files section within a package. -For more details, please refer to -xref:LicensingGuidelines.adoc#subpackage-licensing[Subpackage Licensing]. - === File Permissions Permissions on files MUST be set properly.