softwarefactory-project / rdopkg

power to the packagers
Apache License 2.0
28 stars 21 forks source link

RFE: better support for patching setup.cfg files #112

Open yazug opened 7 years ago

yazug commented 7 years ago

commonly when openstack python packages are tagged upstream the setup.cfg file is re-written and whitespace normalization is done for the version of the setup.cfg that is in the tarball vs what is in the branch.

this causes most attempts to patch setup.cfg to fail when trying to build with that patch in the %prep section

It would be nice if rdopkg could at a minimum detect failure to apply patch to tarball downloaded.

for bonus points gracefully handling the simple tabs vs spaces and trailing space at end of line after an = cleanly.

yac commented 7 years ago

This is related to #110