Bug 463461

Summary: RFE: don't scan %{_docdir} for autoprov/req
Product: [Fedora] Fedora Reporter: Chris Weyl <cweyl>
Component: rpmAssignee: Panu Matilainen <pmatilai>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: ffesti, jnovy, pmatilai, pnasrat, yersinia.spiros
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: 2008-09-27 11:55:00 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 Chris Weyl 2008-09-23 15:38:08 UTC
%{_docdir} can contain all sorts of data, but according to the packaging guidelines, none of it should cause provides/requires to be added to the package.

This is a RFE, asking for the auto-req and auto-prov scripts to skip scanning %{_docdir}'s content.

Comment 1 Panu Matilainen 2008-09-27 11:55:00 UTC
Basically it's a question of executable vs not executable: if %doc files aren't marked executable, no dependencies are collected from them. If they are packaged as executable, somebody might be actually expecting them to work too so it's reasonable that even %doc dependencies are collected too. It's just that the internal dependency generator has some extra twists as shown in bug 234691.

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