https://bugzilla.redhat.com/show_bug.cgi?id=1488242
Robert-André Mauchin zebob.m@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |zebob.m@gmail.com Assignee|nobody@fedoraproject.org |zebob.m@gmail.com Flags| |fedora-review?
--- Comment #1 from Robert-André Mauchin zebob.m@gmail.com --- Hello,
You're shipping *.exe, I think these should be removed like in the original package: https://apps.fedoraproject.org/packages/python-setuptools/sources/
%prep # Remove bundled exes rm -f setuptools/*.exe
And:
%install find %{mingw32_python2_sitearch}/ -name '*.exe' | xargs rm -f find %{mingw64_python2_sitearch}/ -name '*.exe' | xargs rm -f
You also need to remove shebang from Python libraries otherwise rpmlint complains about non executables scripts:
%prep # Strip shbang find setuptools -name *.py | xargs sed -i -e '1 {/^#!//d}'