Nicolas Chauvet pisze:
2008/12/17 Julian Sikorski <belegdol(a)gmail.com>:
> Hi,
>
> it seems that makefile.common wasn't updated to reflect the latest mock
> changes:
> $ LANG=C make mockbuild
> rpmbuild --define "_sourcedir
> /home/jsikorski/cvs/rpmfusion/nonfree/bsnes/F-10" --define "_builddir
> /home/jsikorski/cvs/rpmfusion/nonfree/bsnes/F-10" --define "_srcrpmdir
> /home/jsikorski/cvs/rpmfusion/nonfree/bsnes/F-10" --define "_rpmdir
> /home/jsikorski/cvs/rpmfusion/nonfree/bsnes/F-10" --define "dist
.fc10"
> --define "fedora 10" --define "dist .fc10" --define "fedora
10" --nodeps
> -bs bsnes.spec
> Wrote:
> /home/jsikorski/cvs/rpmfusion/nonfree/bsnes/F-10/bsnes-0.038-1.fc10.src.rpm
> mock -r fedora-10-x86_64.cfg
> --resultdir=/home/jsikorski/cvs/rpmfusion/nonfree/bsnes/F-10/bsnes-0_038-1_fc10
> /home/jsikorski/cvs/rpmfusion/nonfree/bsnes/F-10/bsnes-0.038-1.fc10.src.rpm
> ERROR: Could not find required config file:
> /etc/mock/fedora-10-x86_64.cfg.cfg
> make: *** [mockbuild] Error 1
>
> I have attached a simple patch which brings it up-to-date (with
> mock-0.9.13, the one present in Fedora 10).
Can you rewrite your patch according with the fact that rpmfusion mock
cfg files will be :
fedora-10-i386-rpmfusion_nonfree.cfg and fedora-10-i386-rpmfusion_free.cfg ?etc
I think that having the problem reported via bugzilla, would be right thing.
I hope to have mock cfg files ready really soon.
Nicolas (kwizart)
Now that mock configs are available, here is the updated patch. If it's
OK, I'll prepare another one for free repo.
Cheers,
Julian