jordansissel / fpm

Effing package management! Build packages for multiple platforms (deb, rpm, etc) with great ease and sanity.
http://fpm.readthedocs.io/en/latest/
Other
11.09k stars 1.07k forks source link

fix building of python modules that have tarballs named .tgz and .zip #2002

Open bugfood opened 1 year ago

bugfood commented 1 year ago

This fixes building of (at least): https://pypi.org/project/amqplib/1.0.2/ https://pypi.org/project/dnspython/1.15.0/

Wrap the operation within a Dir.chdir() to simplify the use of multiple globs (older ruby does not support the ':base' option to Dir.glob()).