RFE: Makefile.common patch to error out when no spec is present

Bill Nottingham notting at redhat.com
Mon Apr 27 16:33:43 UTC 2009


Karsten Hopp (karsten at redhat.com) said: 
> Am 24.04.2009 23:54, schrieb Kevin Fenzi:
>> Greetings.
>>
>> I know some of you have run into this situation:
>>
>> If you have a package where there is no *.spec file present and you try
>> to run any of the fedora cvs Makefile.common targets, nothing happens
>> and the command just hangs.
>>
>> Turns out it's doing a grep of the spec file to figure out if the
>> package is noarch or not. When there is no spec file the grep hangs.
>>
>> Here's a very hacky patch that should at least error out in this case.
>>
>> Makefile hackers welcome to provide a better one.
...

> Looks like this is the week of Makefile.common patches, I have another one:

They both look fine... go ahead and apply.

Bill




More information about the fedora-devel-list mailing list