Description of problem: tagging files with %doc puts them into /usr/share/doc/<package>-<version> I want to ask if <version> can be removed from the directory name: since it is not (or should not) be possible to install multiple versions of the same package alongside each other, <version> does not serve a purpose. The <version> does make it a lot harder to refer to standardized file locations for packages. If <version> were not present, it would be possible to write the following in a webpage: After installing package foo, you will find installed doco by clicking <a href=file:///usr/share/doc/foo/index.html>here</a> The version number makes this rather painful. If there is a reason for this, then I would appreciate this being documented. I have searched in vain for it (actually: a manual with packaging policies for RedHat would be much appreciated, MaximumRPM and the HOWTO don't cut it: they're too low on details.) Thanks. Han-Wen Nienhuys
Look at %docdir.