or maybe the build should fail in such case? but not in such pailfully way)
Changed files:
rpm-helperEVR-noassert.patch -> 1.1
--- /dev/null
+--- rpm-4.5/lib/rpmfc.c.orig 2012-02-13 20:28:52.564758176 +0100
++++ rpm-4.5/lib/rpmfc.c 2012-02-14 19:01:50.810809655 +0100
+@@ -472,7 +472,10 @@
+ }
+ i++;
+ EVR = pav[i];
+-assert(EVR != NULL);
++ if(EVR == NULL) {
++ rpmMessage(RPMMESS_ERROR, _("%s helper returned empty version info for %s, omitting\n"), nsdep, N);
++ continue;
++ }
+ }
+ /*@=branchstate@*/
+