Skip to content

pkg_rpm support for stamping the RPM release string #1038

@wade-arista

Description

@wade-arista

With reference to #287 and #288, we have the stamp flag supported in rpm_pfg, but one possible use case of stamping RPMs is to control the release string.

I'd propose that we allow {VARIABLE_NAME} placeholders in the release attribute of pkg_rpm. When stamp = 1 (or stamp = -1 with --stamp), workspace status variables from volatile-status.txt are substituted at build time.

This is very loosely analagous to the use of get_timestamp() in build_zip.py and build_tar.py.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions