On Wed, 2013-01-30 at 17:47 -0700, Kevin Fenzi wrote:
On Wed, 30 Jan 2013 16:38:49 -0800
Adam Williamson <awilliam(a)redhat.com> wrote:
> You may also want to look up the old-as-dirt --relocate parameter to
> RPM. You could try using it, and watch it explode in more cases than
> not. But RPM packages are (or were) (at least in theory) supposed to
> be relocatable whenever this is practical, and all the machinery is
> still there, buried in the tools and spec format...
Actually Fedora packages are (for the vast majority) not relocatable.
https://fedoraproject.org/wiki/Packaging:Guidelines#Relocatable_packages
It never worked well. :(
You could of course download src.rpms and rebuild them with Prefix.
Yeah, hence the 'watch it explode in more cases than not'...but it
seemed like a useful thing to point him to, as background if nothing
else, and as probably the mechanism he wants to use if he wants to make
some Fedora packages relocatable.
--
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net