Skip to content
zoryn/ maintainer-assistant

zoryn spec

Spec file operations.

zoryn spec find

Find the spec file in a gear repository.

zoryn spec find

zoryn spec version

Extract or set the version in the spec file.

zoryn spec version                 # show current version
zoryn spec version set <version>   # set new version

zoryn spec add changelog

Add a changelog entry.

zoryn spec add changelog -e "- fix build" [specfile]      # manual message
zoryn spec add changelog --auto [specfile]                # auto-generate
zoryn spec add changelog --auto --from 1.2.3 [specfile]   # auto with explicit old version

--auto generates a message in the same style as zoryn up (OLD -> NEW with CVEs).

Duplicate detection

If the changelog already has an entry with the same version-release:

  • Same packager → new lines are appended to the existing entry.
  • Different packager → exits with an error.
  • Repeating with the same message → no-op.