[fedora-java] How to build SRPMs for Rawhide from Fedora 12

Adam Young ayoung at redhat.com
Fri May 14 14:58:08 UTC 2010


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 at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/java-devel
>    



More information about the java-devel mailing list