Blame rpm-4.4.2-excluded-size.patch
|
Paul Nasrat |
93cf81 |
--- rpm-4.4.2/build/files.c.excludedsize 2005-11-29 16:21:12.000000000 -0500
|
|
Paul Nasrat |
93cf81 |
+++ rpm-4.4.2/build/files.c 2005-11-29 16:21:21.000000000 -0500
|
|
Paul Nasrat |
93cf81 |
@@ -1678,7 +1678,7 @@
|
|
Paul Nasrat |
93cf81 |
} else
|
|
Paul Nasrat |
93cf81 |
i = fl->fileListRecsUsed;
|
|
Paul Nasrat |
93cf81 |
|
|
Paul Nasrat |
93cf81 |
- if (S_ISREG(flp->fl_mode) && i >= fl->fileListRecsUsed)
|
|
Paul Nasrat |
93cf81 |
+ if (!(flp->flags & RPMFILE_EXCLUDE) && S_ISREG(flp->fl_mode) && i >= fl->fileListRecsUsed)
|
|
Paul Nasrat |
93cf81 |
fl->totalFileSize += flp->fl_size;
|
|
Paul Nasrat |
93cf81 |
}
|
|
Paul Nasrat |
93cf81 |
|