Bug 250011

Summary: %doc macro places files in wrong directory
Product: [Fedora] Fedora Reporter: Oded Arbel <oded>
Component: rpmAssignee: Paul Nasrat <nobody+pnasrat>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 7   
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: 2007-07-29 15:33:03 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 Oded Arbel 2007-07-29 12:48:08 UTC
Description of problem:
when using the files section %doc macro installs document files into
%{prefix}/doc instead of %{_datadir}/doc

Version-Release number of selected component (if applicable):
4.4.2-46.fc7

How reproducible:
Always

Steps to Reproduce:
1. build a package which uses the %doc macro
  
Actual results:
files listed using %doc go to /usr/doc/<package name>-<package version>

Expected results:
files listed using %doc should go to /usr/share/doc/<package name>-<package version>

Additional info:

Comment 1 Ignacio Vazquez-Abrams 2007-07-29 15:33:03 UTC
Install redhat-rpm-config if you want to use the Red Hat standard directory of
/usr/share/doc.