github packit/specfile 0.33.0

one day ago
  • There is a new convenience method Sections.get_or_create() that allows you to manipulate a section
    without checking if it exists first. If a section doesn't exist, it will be appended to the end. (#441)
    For example, this will work properly even on spec files without %changelog:

    with spec.sections() as sections:
        changelog = sections.get_or_create("changelog")
        changelog[:] = ["%autochangelog"]
    

Don't miss a new specfile release

NewReleases is sending notifications on new releases.