build/checkFiles.c: disable intersection check for /usr/src/debug
Though the intersection check can be useful even for /usr/src/debug (it indicates binary code duplication and/or poor dependencies between subpackages), it is too noisy and can eat up quite a bit of output. The same information is still available directly within the packages or via contents_index.
This commit is contained in:
parent
033bb95511
commit
856fad26a6
@ -48,6 +48,9 @@ void checkPkgIntersect(Package pkg1, Package pkg2)
|
||||
{
|
||||
if (S_ISDIR(fi1->fmodes[i1]) && S_ISDIR(fi2->fmodes[i2]))
|
||||
return;
|
||||
const char src[] = "/usr/src/debug/";
|
||||
if (strncmp(f, src, sizeof(src) - 1) == 0)
|
||||
return;
|
||||
if (once++ == 0)
|
||||
rpmlog(RPMLOG_WARNING,
|
||||
"File(s) packaged into both %s-%s-%s and %s-%s-%s:\n",
|
||||
|
Loading…
Reference in New Issue
Block a user