Bug 676697 - malformed python packages
Summary: malformed python packages
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: rc
: ---
Assignee: Jason Baron
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On: 676692 688955
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-10 20:14 UTC by Dennis Gregorovic
Modified: 2013-03-06 06:01 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 676692
Environment:
Last Closed: 2011-10-06 19:59:58 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.