https://bugzilla.redhat.com/show_bug.cgi?id=1748059
--- Comment #5 from Elliott Sales de Andrade quantum.analyst@gmail.com ---
# Remove bundled egg-info rm -rf %{pypi_name}.egg-info
comes from pyp2rpm when you generate a spec. Usually PKG-INFO is in there so it gets deleted as well. I'm not sure why pyp2rpm adds this, when it's not in the guidelines, but I guess it does help avoid installing it (without proper rebuild) accidentally.