Bug 733954
Summary: | Stop generating source RPM tags from BuildRequires | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Matt McCutchen <matt> |
Component: | rpm | Assignee: | Panu Matilainen <pmatilai> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 15 | CC: | ffesti, jnovy, pmatilai |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-10-17 08:01:02 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: | 733949 | ||
Bug Blocks: |
Description
Matt McCutchen
2011-08-28 21:28:01 UTC
NAK. More or less all the metadata carried by an SRPM is (at least subject to being) specific to the arch/platform where it was generated, always has been. That the data contained in SRPMS is not fit for some particular purpose (such as "source repository" metadata) only means it shouldn't be used for that purpose, it doesn't make the data useless. Removing the build-requires from SRPMS would accomplish precisely nothing except break legal usages such as what mock is currently doing. mock might indeed be better off with using yum-builddep on spec now that it's possible, but that's not a reason to break 15 years of backwards compatibility. I can't argue with your conclusion, though I may make the change on my system since I have less of an interest in long-term backward compatibility. Some questions: > More or less all the metadata carried by an SRPM is (at least subject to > being) specific to the arch/platform where it was generated, always has been. Concretely, what other fields are architecture or platform dependent? > That the data contained in SRPMS is not fit for some particular purpose (such > as "source repository" metadata) only means it shouldn't be used for that > purpose, it doesn't make the data useless. Is it fit for some other purpose for which a better alternative is not already available? > Removing the build-requires from > SRPMS would accomplish precisely nothing except break legal usages such as what > mock is currently doing. What it would accomplish is to definitively break callers that make the incorrect assumption that the build requirements in the SRPM header are architecture independent and force them to adopt a different approach, hopefully a correct one. Is anything else in Fedora in the same situation as mock? |