[Bug 1241919] Review Request: python-line_profiler - Line-by-line profiler for Python.

bugzilla at redhat.com bugzilla at redhat.com
Fri Jul 24 02:49:37 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1241919



--- Comment #29 from Michel Alexandre Salim <michel at michel-slm.name> ---
It does not end up packaged because you use %ghost in the file listing. (Try
examining the python-line_profiler RPM)

Also, if you compare with the python spec generated using rpmdev-newspec,
you'll see that over there they do install of the python3 variant first,
followed by python2, to ensure the Python 2 binaries win. Since you didn't do
that, *if* you ended up with kernprof that kernprof will be the Python 3
version.

If you want kernprof I'd suggest
1) install the Python 3 variant first, then mv its kernprof binary to add the
   version suffix
2) install the Python 2 variant, then mv instead of cp, them symlink the
versioned file back, and
3) remove %ghost, just list %{_bindir}/kernprof itself in the main %files
listing

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component


More information about the package-review mailing list