Michael Schröder
ff04a9b972
OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=213
14 lines
584 B
Diff
14 lines
584 B
Diff
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))) {
|