softwarefactory-project / rdopkg

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

RFE: Spec.set_magic_comment #172

Open yac opened 5 years ago

yac commented 5 years ago

rdopkg.utils.specfile already contains get_magic_comment function to read

# magic_comment=value

from .spec file.

Add generic set_magic_comment function as well to modify magic comments and refactor set_patches_base to use it.