On 07/28/2011 07:05 PM, Trey Dockendorf wrote:
While I work on that I'm also looking at building packages using
Mock,
but am having a lot of trouble getting it to work. I've found a few
docs on mock on the Fedora wiki, but not much else. Right now I'm
trying to test packages I've made on CentOS 6, but am getting
this...maybe if someone could point me in the direction of additional
information on Mock or where to get support that would be great.
ERROR: Exception(ossec-hids-2.6.0-1.el6.src.rpm) Config(epel-6-x86_64) 0
minutes 1 seconds
INFO: Results and/or logs in: /var/lib/mock/epel-6-x86_64/result
ERROR: Command failed:
# ['/usr/bin/yum', '--installroot',
'/var/lib/mock/epel-6-x86_64/root/', 'groupinstall',
'buildsys-build']
Error: Package: epel-release-6-5.noarch (epel)
Requires: /bin/sh
Error: Package: epel-release-6-5.noarch (epel)
Requires: redhat-release >= 6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
You need to tweak the epel 6 mock config, the one shipped with the mock
package are currently not working out of the box but i think a fixed
version is on its way. In /etc/mock/epel-6-x86_64.cfg, disable the
'beta' and 'beta-optional' repos and enable the 'base' and
'updates' repos.
Regards,
Xavier