Bug 197271
Summary: | createrepo creates arch="i386" for src.rpm files | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Robert Scheck <redhat-bugzilla> | ||||
Component: | createrepo | Assignee: | Paul Nasrat <nobody+pnasrat> | ||||
Status: | CLOSED UPSTREAM | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | ||||||
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-06-30 12:45:48 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: | |||||||
Attachments: |
|
Description
Robert Scheck
2006-06-29 19:14:10 UTC
Technically the src.rpm has RPMTAG_ARCH set - try it: rpm -qp --qf '%{arch}\n' dummy-1.0-1.src.rpm i386 This is why the convention has been to keep src.rpm repos seperate for fedora. The way to identify a src.rpm is the absence of sourcerpm filed. rpm -qp --qf '%{sourcerpm}\n' dummy-1.0-1.src.rpm (none) But the stuff worked with older versions of createrepo... If you let me know which version we regress from I'll look into. Particularly with xml fragment, etc. Created attachment 131777 [details]
Proposed patch
Hmm are you using rpm >= 4.4.6? If so see CHANGES for why this broke - attached
createrepo patch will work around. Please in future if you are using
non-standard core packages mention this in the bug report.
Please test this and I'll commit upstream (it looks logically correct to me).
Oops...yes I am - sorry. And yes your patch works, of course and looks sane, too. Thank you very much for resolving it anyway :) Commited to upstream createrepo. |