Bug 89661
Summary: | Sizes reported wrong for RPMS | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Andrew Schretter <schrett> | ||||
Component: | rpm | Assignee: | Paul Nasrat <nobody+pnasrat> | ||||
Status: | CLOSED UPSTREAM | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | n3npq, rdieter | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-01-06 16:34:47 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 171491 | ||||||
Attachments: |
|
Description
Andrew Schretter
2003-04-25 17:35:43 UTC
I can confirm that when using %exclude that the size is calculated incorrectly. As a matter of fact, I have reason to believe that when something is %exclude'd (at least in some cases), it's size is counted *twice*. In my case, I have a package that contains %doc %{_docdir}/* %exclude %{_docdir}/foo Where %{_docdir}/foo is approximately 75-80MB in size. The package's size is then reported to be approximately ~150MB too big. Created attachment 117239 [details]
Proposed patch
Untested but this should not add %excludes to RPMTAG_SIZE
Patch added in rpm-4.4.4. |