mock and fc5/fe5 and comps pain

Mike McLean mikem at redhat.com
Thu Dec 15 20:50:47 UTC 2005


seth vidal wrote:
>>You still have yum parsing the comps, but it only parses one (and that 
>>one is easier to control). Since the groups repo is so directly tied to 
>>mock, it seems reasonable to expect that buildgroups.xml should match 
>>your mock/yum setup.
> 
> yes - but now you have to maintain 2 of these files.

not if new yum could handle old comps.

> wrt to rebuilding the package. What if I could give you a script that
> just took a spec file and spat out the noarch.rpm? Would that make your
> life easier and less irritated by the package-full-of-deps, thing?

The rebuilding isn't that big a deal, more of an annoyance. My main 
worry is the fake packages sitting in the repos. Using fake packages 
like this has always seemed like a hack to me. Sometimes it is 
necessary, but I hate to see it used as a central mechanism in the build 
system.

In my case the fake packages introduce a problem in bookkeeping. I can 
work around it, of course, but I'd rather avoid the mess.

Anyway, how about a compromise? See attached patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mock-compromise.patch
Type: text/x-patch
Size: 1237 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/buildsys/attachments/20051215/6e3481ca/attachment.bin 


More information about the buildsys mailing list