--- ./build/parseChangelog.c.orig 2011-05-23 14:19:48.000000000 +0000 +++ ./build/parseChangelog.c 2011-05-23 14:20:36.000000000 +0000 @@ -238,7 +238,7 @@ int parseChangelog(rpmSpec spec) } } - if (addChangelog(spec->packages->header, sb)) { + if (sb && addChangelog(spec->packages->header, sb)) { goto exit; } res = nextPart;