Re: How to build SRPMs for Rawhide from Fedora 12

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
>> https://admin.fedoraproject.org/mailman/listinfo/java-devel
>>
>>      
> --
> java-devel mailing list
> java-devel@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/java-devel
>    

--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel

[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux