Bug 4580

Summary: %doc - silent failure when a file is missing
Product: [Retired] Red Hat Linux Reporter: benedict
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0   
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: 1999-08-30 23:28:48 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 benedict 1999-08-18 08:04:14 UTC
When processing the %files list, if a %doc file is missing
you get an error message, but the packaging goes on and
rpm exists normally.

The resulting package contains all %doc files mentione
before the one that's missing, and doesn't contain any
%doc files mentioned later.

Silent failures are no good!

Comment 1 Jeff Johnson 2001-02-21 18:42:19 UTC
FWIW, the silent failure has been considered a "feature" in legacy releases of
rpm.

I'm gonna dupe this bug onto the lack of scoping for %attr across %doc, as the
solution to both bugs will be the same (i.e. rewrite a tighter copy of %doc
files).

*** This bug has been marked as a duplicate of 3230 ***