14 lines
492 B
Diff
14 lines
492 B
Diff
Do not could exlcuded files in disk space calculation. Backported.
|
|
|
|
--- ./build/files.c.orig 2005-12-14 19:22:43.000000000 +0000
|
|
+++ ./build/files.c 2006-02-17 13:57:25.000000000 +0000
|
|
@@ -1677,7 +1689,7 @@ static int addFile(FileList fl, const ch
|
|
} else
|
|
i = fl->fileListRecsUsed;
|
|
|
|
- if (S_ISREG(flp->fl_mode) && i >= fl->fileListRecsUsed)
|
|
+ if (!(flp->flags & RPMFILE_EXCLUDE) && S_ISREG(flp->fl_mode) && i >= fl->fileListRecsUsed)
|
|
fl->totalFileSize += flp->fl_size;
|
|
}
|
|
|