Bug 250011 - %doc macro places files in wrong directory
%doc macro places files in wrong directory
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Paul Nasrat
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-07-29 08:48 EDT by Oded Arbel
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-07-29 11:33:03 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Oded Arbel 2007-07-29 08:48:08 EDT
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):

How reproducible:

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 11:33:03 EDT
Install redhat-rpm-config if you want to use the Red Hat standard directory of

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