Red Hat Bugzilla – Bug 91573
infodir and mandir are incorrect in macros file
Last modified: 2007-04-18 12:53:59 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
Description of problem:
The %_mandir and %_infodir macros are incorrect in relation to where the
distribution RPMs install their files.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. egrep "infodir|mandir" /usr/lib/rpm/macros
2. ls -lR /usr/man/ /usr/info
Actual Results: No distribution-created files get installed in these
directories, but packages built using this version of the macros file get
installed in those directories.
Expected Results: The macros file should build RPMS that are the same as those
included with the distribution.
Here is a patch that fixes the macros file:
--- /usr/lib/rpm/macros~ 2003-02-27 16:24:02.000000000 -0500
+++ /usr/lib/rpm/macros 2003-05-24 13:16:09.000000000 -0400
@@ -908,8 +908,8 @@
# ---- config.guess platform macros.
Created attachment 91941 [details]
Patch to macros file.
The same patch that is in the bug description, my bad for placing it there as
To get the RHL setup, you can install redhat-rpm-config.
Whether the RPM default should violate FHS is a different question.
The file /usr/lib/rpm/macros follows autoconf conventions
as closely as possible.
The linux (and FHS) specific values you are expecting
are already overridden in per-platform configuration.