File zerousecs.diff of Package rpm

--- ./rpmio/rpmsw.c.orig	2012-03-05 16:36:41.000000000 +0000
+++ ./rpmio/rpmsw.c	2012-03-05 16:37:35.000000000 +0000
@@ -219,6 +219,10 @@ rpmtime_t rpmswInit(void)
 /*@=uniondef@*/
 	rpmsw_type = 1;
 
+	/* Fix floating point exception (bnc#747225) */
+	if (sum_usecs == 0)
+	    sum_usecs = 1;
+
 	/* Compute cycles/usec */
 	rpmsw_cycles = sum_cycles/sum_usecs;
 #else