File nobuildcolor.diff of Package python3-rpm

Disable file coloring for SUSE systems

--- build/rpmfc.c.orig	2012-06-01 13:37:51.000000000 +0000
+++ build/rpmfc.c	2012-06-01 13:37:21.000000000 +0000
@@ -1304,7 +1304,7 @@ rpmRC rpmfcGenerateDepends(const rpmSpec
 	goto exit;
 
     /* Add per-file colors(#files) */
-    if (rpmtdFromArgi(&td, RPMTAG_FILECOLORS, fc->fcolor)) {
+    if (rpmExpandNumeric("%{?_transaction_color}") != 0 && rpmtdFromArgi(&td, RPMTAG_FILECOLORS, fc->fcolor)) {
 	rpm_color_t *fcolor;
 	/* XXX Make sure only primary (i.e. Elf32/Elf64) colors are added. */
 	while ((fcolor = rpmtdNextUint32(&td))) {