Open yac opened 5 years ago
rdopkg.utils.specfile already contains get_magic_comment function to read
rdopkg.utils.specfile
get_magic_comment
# 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.
set_magic_comment
set_patches_base
rdopkg.utils.specfile
already containsget_magic_comment
function to readfrom .spec file.
Add generic
set_magic_comment
function as well to modify magic comments and refactorset_patches_base
to use it.