Spec URL: https://smani.fedorapeople.org/review/mingw-python-setuptools.spec SRPM URL: https://smani.fedorapeople.org/review/mingw-python-setuptools-36.2.0-1.fc28.src.rpm Description: MinGW Windows Python setuptools library Fedora Account System Username: smani
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}'
I'm not sure about the reationale for removing the exes underneath site-packages, the native spec-file does not really explain it. But I've so far never had a use for them, so I'm ok with deleting them. Spec URL: https://smani.fedorapeople.org/review/mingw-python-setuptools.spec SRPM URL: https://smani.fedorapeople.org/review/mingw-python-setuptools-36.2.0-2.fc28.src.rpm %changelog * Tue Sep 05 2017 Sandro Mani <manisandro> - 36.2.0-2 - Remove bundled exes - Remove shebangs on python modules - Delete exes underneath site-packages
All good, package accepted.
(fedrepo-req-admin): The Pagure repository was created at https://src.fedoraproject.org/rpms/mingw-python-setuptools