Bug 56286

Summary: RFE: nosrc.rpm packages cannot be identified
Product: [Retired] Red Hat Linux Reporter: Mihai Ibanescu <mihai.ibanescu>
Component: rpmAssignee: 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
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5) Gecko/20011012

Description of problem:
nosrc.rpm packages cannot be distinguished only by looking at the RPM header.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.grab the header for xforms (powertools 7.0)
	

Additional info:

Comment 1 Paul Nasrat 2005-06-07 19:55:58 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