Bug 676697

Summary: malformed python packages
Product: Red Hat Enterprise Linux 6 Reporter: Dennis Gregorovic <dgregor>
Component: kernelAssignee: Jason Baron <jbaron>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.1CC: arozansk, jfeeney, knoel, pmatilai
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 676692 Environment:
Last Closed: 2011-10-06 19:59: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:
Bug Depends On: 676692, 688955    
Bug Blocks:    

Description Dennis Gregorovic 2011-02-10 20:14:51 UTC
+++ This bug was initially created as a clone of Bug #676692 +++

--- Additional comment from arozansk on 2011-02-10 14:55:34 EST ---

file now recognizes python scripts:
/usr/libexec/perf-core/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Core.py: ASCII English text   
to
/usr/libexec/perf-core/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Core.py: Python script text executable

redhat-rpm-config's find-requires look those .py files on the first line
for #!<interpreter>, won't find in those lines in these files, only "#"
which end up showing up on the find-requires output, therefore confusing
rpm.

Comment 2 Aristeu Rozanski 2011-05-05 13:42:38 UTC
Dennis, this was fixed in a different way: redhat-rpm-config will look for
executables, not just python scripts. since the ones used by perf are actually
libraries and should not be used as executables, Jason submitted a patch to
remove the execute permission.

Comment 4 Jason Baron 2011-10-06 19:59:58 UTC
As per Aris's comment #2, this was fixed for 6.1. closing.