On 07/30/2010 12:34 PM, Paul Howarth wrote:
On 30/07/10 09:51, manuel "lonely wolf" wolfshant wrote:
> FWIW, I was not able to setup mock to build locally for EL-6. I get an
> error message which seems to indicate a lack of the buildsys-build
> group.
> If anyone can share a working config, please do.
I made a buildsys-build package for this purpose a while back, which
you can get here:
http://mirror.city-fan.org/ftp/contrib/buildsys/
The one you want is buildsys-build-0.6-1.CF.el6.noarch.rpm
Put that package in a repo you've configured in your mock config (you
might want to add a "groups" repo containing just that package). Then,
to use it, put in your mock config:
config_opts['chroot_setup_cmd'] = 'install buildsys-build'
Paul.
Works like a charm on my system (using mock-1.1.1), after creating a
local repo which includes Paul's package and ccache from EPEL (I am not
always willing to enable EPEL by default) .
Thanks, Paul !
Manuel