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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--- Comment #29 from Michel Alexandre Salim <michel@xxxxxxxxxxxxxxx> ---
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
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]