[Bug 1488242] Review Request: mingw-python-setuptools - MinGW Windows Python setuptools library

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

 



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

Robert-André Mauchin <zebob.m@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |zebob.m@xxxxxxxxx
           Assignee|nobody@xxxxxxxxxxxxxxxxx    |zebob.m@xxxxxxxxx
              Flags|                            |fedora-review?



--- Comment #1 from Robert-André Mauchin <zebob.m@xxxxxxxxx> ---
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}'

-- 
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
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux