Bug 56286
Summary: | RFE: nosrc.rpm packages cannot be identified | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Mihai Ibanescu <mihai.ibanescu> |
Component: | rpm | Assignee: | Paul Nasrat <nobody+pnasrat> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 7.2 | ||
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: | 2005-06-07 19:55:58 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: |
Description
Mihai Ibanescu
2001-11-14 23:51:02 UTC
You look and see if tag 1051 has contents (nosource index).
eg:
>>> import os,rpm
>>> ts=rpm.ts()
>>> f = os.open("foo.nosrc.rpm", os.O_RDONLY)
>>> h = ts.hdrFromFdno(f)
>>> h[1051]
0
vs
[] for a non nosrc.rpm
|