[Rpm-maint] rpm-4.9 segfault on build with empty prep section

Panu Matilainen pmatilai at laiskiainen.org
Mon May 16 09:08:54 UTC 2011

On 05/13/2011 07:29 PM, Michael Schroeder wrote:
> Hi,
> rpm-4.9 will crash if the %prep section is empty, i.e. if
> the specfile looks like:
> %prep
> %build
> ...
> Patch (untested):

Applied, thanks for the patch.

This wasn't triggering on Fedora as redhat-rpm-config contains a rather 
hysterical macro override for %prep causing %prep never to be really 
empty. Should get rid of that ancient hack finally...

	- Panu -

More information about the Rpm-maint mailing list