Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP6
rpm.26687
nobuildcolor.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nobuildcolor.diff of Package rpm.26687
Disable file coloring for SUSE systems --- build/rpmfc.c.orig 2013-07-12 12:12:45.000000000 +0000 +++ build/rpmfc.c 2013-07-12 12:15:51.000000000 +0000 @@ -1305,7 +1305,8 @@ rpmRC rpmfcGenerateDepends(const rpmSpec /* XXX Make sure only primary (i.e. Elf32/Elf64) colors are added. */ for (int i = 0; i < fc->nfiles; i++) fc->fcolor[i] &= 0x0f; - 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