[ATrpms-devel] rpm build environment

Axel Thimm Axel.Thimm at ATrpms.net
Sun Dec 31 04:49:52 CET 2006


On Sat, Dec 30, 2006 at 09:01:40PM -0200, Paulo Cavalcanti wrote:
> Hi, Axel
> 
> what is the simplest way to know if a rpm can be built
> with only ATrpms packages?
> 
> I thought of using mock with atrpms repo included.
> Is this enough?

I haven't used mock myself, but I think that would be enough. Any
chroot manager that only installs the BuildRequires (and recursive
dependencies) should be enough. I'm using a self-brewn set of sh
scripts that use apt to manage the chroot.

> Can I use mock to build a package for any fedora version, using the
> appropriate cfg file?  The only weird thing is that it erases the
> chroot by default, forcing the use of the option --no-clean in every
> build.

As said I don't know details of mock. I once tried to use mach, then
gave up on it and started to run simple scripts to (de)populate the
chroot. If there is interest I can shape them up and open them up for
further development.
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-devel/attachments/20061231/910a6c9e/attachment.bin 


More information about the atrpms-devel mailing list