Bug 173087

Summary: Do not generate autodeps for %doc files
Product: [Fedora] Fedora Reporter: Enrico Scholz <rh-bugzilla>
Component: rpmAssignee: Paul Nasrat <nobody+pnasrat>
Status: CLOSED WONTFIX QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: lists
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-11-14 02:15:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Enrico Scholz 2005-11-13 23:26:02 UTC
Description of problem:

It is a common agreement that packages must work without %doc content
(see [1]). This implicates that packages must work without dependencies
introduced by %doc files.

Therefore, 'rpm' should not generate dependencies for %doc files (at
least for Fedora). Especially for small packages it happens often that
their core functionality does not have dependencies but %doc contains
perl scripts adding a new (and huge) dependency.


Version-Release number of selected component (if applicable):

rpm-4.4.1-22



Footnotes: 
[1] http://fedoraproject.org/wiki/PackageReviewGuidelines
    | - MUST: If a package includes something as %doc, it must not
    |   affect the runtime of the application. To summarize: If it is in
    |   %doc, the program must run properly if it is not present.

Comment 1 Jeff Johnson 2005-11-14 02:15:52 UTC
chmod -x /path/to/file disables autodeps.

Since when is it necessaryt for doco files to be executable?!?

Comment 2 Jeff Johnson 2005-11-14 03:12:07 UTC
*** Bug 152262 has been marked as a duplicate of this bug. ***