Is there a tool that allows to install the dependecies of an RPM .spec into an isolated environment? I won't install such dependencies globally on the system and I am not able to do so since I have not root privileges.
The reason
I want to build a package A which depends on a newer version of B (which cannot be installed globally on the system).
I like to build the newer version of B and let the build tool install B's -devel
it into an isolated environment to provide all necessary files for the build of A.
Solutions
- Are there any tools to do this?
- If not, what should I take care of when trying to do this with say
chroot
? - Would this be a bad practice?