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
Sounds like you want to use Mock.
yum install mock, and then initialize:
mock -r fedora-13-x86_64 --init
You can then rebuild an SRPM for example doing this:
mock -r fedora-13-x86_64 --installdeps --rebuild /home/ayoung/rpmbuild/SRPMS/rubygem-rubyzip-0.9.1-1.young.src.rpm
On 05/14/2010 10:54 AM, 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 -- java-devel mailing list java-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/java-devel
On 05/14/2010 10:58 AM, Adam Young wrote:
Sounds like you want to use Mock.
yum install mock, and then initialize:
mock -r fedora-13-x86_64 --init
You can then rebuild an SRPM for example doing this:
mock -r fedora-13-x86_64 --installdeps --rebuild /home/ayoung/rpmbuild/SRPMS/rubygem-rubyzip-0.9.1-1.young.src.rpm
Just to close the loop, you can build the source RPM from sources/patches/spec file by running
rpmbuild -bs rubygem-rubyzip.spec
On 05/14/2010 10:54 AM, 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 -- java-devel mailing list java-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/java-devel
-- java-devel mailing list java-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/java-devel
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.
java-devel@lists.fedoraproject.org