softwarefactory-project / rdopkg

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

warning/cleanup if 2 patches_base entries are present #89

Closed yazug closed 7 years ago

yazug commented 7 years ago

this is a bad artifact of having a prior patches_base lower in the file and a second one being added right after sources and then rdopkg patch/update-patches being applied.

This is a code smell for something that should be cleaned up.

yac commented 7 years ago

This should be an easy addition to Spec.sanity_check() currently at https://github.com/openstack-packages/rdopkg/blob/master/rdopkg/utils/specfile.py#L277

yac commented 7 years ago

Please review: https://review.rdoproject.org/r/#/c/3776/