Bug 173087 - Do not generate autodeps for %doc files
Summary: Do not generate autodeps for %doc files
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Paul Nasrat
QA Contact: Mike McLean
URL:
Whiteboard:
: 152262 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-11-13 23:26 UTC by Enrico Scholz
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-11-14 02:15:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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. ***


Note You need to log in before you can comment on or make changes to this bug.