Bug 2029877
| Summary: | rpmbuild strips path and overwrites multiple %doc and %license files | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Nico Kadel-Garcia <nkadel> | ||||
| Component: | rpm | Assignee: | Packaging Maintenance Team <packaging-team-maint> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | swm-qe | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 8.5 | CC: | maxwell, pmatilai | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2021-12-08 08:28:58 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Nico Kadel-Garcia
2021-12-07 14:15:18 UTC
Contrary to the initial report in https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/QYZYBWYFTXVOSXBR7JTFWMHQHGF4LAOZ/ the behavior is the same on RHEL 7 so it's not a regression at all, this is entirely expected behavior. So this is an RFE, and I don't see us addressing it in RHEL 8. Moving this to upstream https://github.com/rpm-software-management/rpm/issues/1855 but thanks for the report, the use-case is legit and would be good to better support it. I've agreed elsewhere that I was mistaken, it's indeed happening on RHEL 7. It's less apparent there because there's not a report to the console about duplicate files. The RPM documentation on %spec or %license do not document the behavior. I can understand wanting to not alter existing default behavior. I'll urge updating the documentation. while many treat a documented bug as a feature, the converse is that an unreported feature can and should be treated as a bug. Providing a flag to disable this path stripping, similar to the flag for disabling debuginfo packages, could help resolve this for software suites with multiple README.md files. |