Hi,
I am working on a Fedora 12 machine, but I would like to build Java packages for rawhide without necessarily enabling rawhide repository for all the system (it messes with the stable updates).
How can I create an RPM build environment for rpmbuild that accesses all the dependencies available in rawhide without affecting the host?
Thank you in advance. EB
Edmon Begoli wrote:
Hi,
I am working on a Fedora 12 machine, but I would like to build Java packages for rawhide without necessarily enabling rawhide repository for all the system (it messes with the stable updates).
How can I create an RPM build environment for rpmbuild that accesses all the dependencies available in rawhide without affecting the host?
using mock is the best option that I know of.
Hello Edmond:
Use mock, it does what you have asked for. See here:
https://fedoraproject.org/wiki/Extras/MockTricks
Regards, Germán.
On Fri, 2010-05-14 at 10:54 -0400, Edmon Begoli wrote:
Hi,
I am working on a Fedora 12 machine, but I would like to build Java packages for rawhide without necessarily enabling rawhide repository for all the system (it messes with the stable updates).
How can I create an RPM build environment for rpmbuild that accesses all the dependencies available in rawhide without affecting the host?
Thank you in advance. EB
On Fri, May 14, 2010 at 10:54:28 -0400, Edmon Begoli ebegoli@gmail.com wrote:
Hi,
I am working on a Fedora 12 machine, but I would like to build Java packages for rawhide without necessarily enabling rawhide repository for all the system (it messes with the stable updates).
How can I create an RPM build environment for rpmbuild that accesses all the dependencies available in rawhide without affecting the host?
You can use scratch builds to test the building process without actually putting the updated version in rawhide. Depending on what exactly you are testing that might be a better option.
On Fri, May 14, 2010 at 10:54:28AM -0400, Edmon Begoli wrote:
How can I create an RPM build environment for rpmbuild that accesses all the dependencies available in rawhide without affecting the host?
Mock is probably what you are looking for. However you might also consider virtualization, if you have enough disk and memory.
Rich.
packaging@lists.fedoraproject.org