How to build a package for different OS release than I have

Ankur Sinha sanjay.ankur at gmail.com
Tue Oct 14 11:02:36 UTC 2014


On Tue, 2014-10-14 at 11:44 +0200, Miroslav Suchý wrote:
> If you really need to build it on one host only (not sure why), then
> mock is your friend.
> mock -r epel-6-x86_64 foo.src.rpm
> mock -r epel-5-x86_64 foo.src.rpm
> ...
> Those names maps to files in /etc/mock/*.cfg

Do also look at mockchain:
http://skvidal.wordpress.com/2012/04/20/mockchain-use-cases-and-examples/

-- 
Thanks,
Regards,
Ankur (FranciscoD)

http://fedoraproject.org/wiki/User:Ankursinha

Join Fedora! Come talk to us!
http://fedoraproject.org/wiki/Fedora_Join_SIG


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
URL: <https://lists.fedorahosted.org/pipermail/copr-devel/attachments/20141014/aa13f3ac/attachment.sig>


More information about the copr-devel mailing list