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): rpm-4.2-0.69 How reproducible: Always 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. Additional info: 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 @@ %_libdir %{_exec_prefix}/%{_lib} %_includedir %{_prefix}/include %_oldincludedir /usr/include -%_infodir %{_prefix}/info -%_mandir %{_prefix}/man +%_infodir %{_prefix}/share/info +%_mandir %{_prefix}/share/man #============================================================================== # ---- 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 well.
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.