befeleme / pyp2spec

Generate Fedora RPM spec files for Python packages
MIT License
11 stars 4 forks source link

Only define pyp2{spec,conf}'s shared arguments once #27

Closed gotmax23 closed 1 year ago

gotmax23 commented 1 year ago

pyp2conf and pyp2spec share a lot of the same arguments, but they are currently duplicated. This creates a wrapper function to share arguments between them, making the code DRYer.

befeleme commented 1 year ago

This looks great, thank you!