Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:ALP:Workbench:1.0
rpm
nobuildcolor.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nobuildcolor.diff of Package rpm
Disable file coloring for SUSE systems --- build/rpmfc.c.orig 2020-09-30 13:06:07.502865543 +0000 +++ build/rpmfc.c 2020-09-30 13:07:08.530734545 +0000 @@ -1607,7 +1607,8 @@ rpmRC rpmfcGenerateDepends(const rpmSpec goto exit; /* Add per-file colors(#files) */ - headerPutUint32(pkg->header, RPMTAG_FILECOLORS, fc->fcolor, fc->nfiles); + if (rpmExpandNumeric("%{?_transaction_color}") != 0) + headerPutUint32(pkg->header, RPMTAG_FILECOLORS, fc->fcolor, fc->nfiles); /* Add classes(#classes) */ for (rpmsid id = 1; id <= rpmstrPoolNumStr(fc->cdict); id++) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor