Re: Changes in mock?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Apr 10, 2006, at 6:42 PM, Christoph Wickert wrote:

Am Montag, den 10.04.2006, 14:57 +0100 schrieb Paul Howarth:
Christoph Wickert wrote:
[that he's having trouble with mock's macros..]

mock uses "yum groupinstall build", which in FC5's yum does not pull in
the buildsys-macros package.

http://www.redhat.com/archives/fedora-extras-list/2006-March/ msg02015.html

Ok, thanks for the pointer. Although I red this message before I wasn't
aware that _this_ was my problem.

Your workaround works fine here but does this mean I can no longer use
any "%if "%fedora" >" statements in my specfiles?

Chris

It may be easier to do this:

Edit your local /etc/mock/*.cfg files, and change the 'buildgroup' setting to be:
config_opts['buildgroup'] = 'build build-base build-minimal'

That way, mock will call yum as: 'yum groupinstall build build-base build-minimal', and you'll get all the packages you'd expect, and it saves you creating a local repo as Paul described.

-Jeff

--
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux