Why do all these RPM packages claim they are relocatable ?
Actually, all of them but one (kdelibs) say "Relocatable:
/usr". As I stated on the KDE-redHat mailing list, I find
that the configuration files are always installed in /etc,
and the doc files in /usr/doc/kde/HTML.
May I suggest changing this location, precisely because it
doesn't allow relocatable packages ? Moving all the HTML
stuff to /usr/share/doc/HTML would allow relocatable RPMs,
unless they have config files (which is rarely the case).
For example, if I want to create RPM packages for both Red
Hat users (FHS compliant) and others, I'd like to be able to
replace /usr with /opt/kde for example. These doc files
would then reside in /opt/kde/share/doc/HTML, which is their
proper location in the KDE tree. While with the new Red Hat
package location, they would go to /opt/kde/doc/kde/HTML if
one try to "relocate" them...
How much would it break the FHS compliance ?
It would completely violate FHS compliance. Whether that actually matters or
not is a subject of current debate.
We'll be evaluating this as an option next time we make packages, but don't hold
your breath. We often get accused of not supporting standards groups enough,
and then we do, we take even more heat. It's a lose-lose situation it seems.