Identifying a particular build

Thierry Vignaud thierry.vignaud at gmail.com
Fri Apr 4 11:16:27 UTC 2014


On 4 April 2014 11:37, Tim T. <tim.timmerman at gmail.com> wrote:
> For a RHEL6 project (RPM 4.0.0) , with input from many developers, doing
> parallel development in a clearcase environment, we'd like to have some
> indication of which stream was used to build a particular RPM.
>
> For instance if I'm developing in a stream (branch)
> "timt_blue_monkey_20140404", I'd like to have that  stream identification
> available in the final rpm.
>
>
> Is there a field in the header that we could use for this ? What is common
> best practice ?

Just use the Release tag.
eg:

%define clearcase_tag timt_blue_monkey_20140404
Version: 0.1
Release: 3.%clearcase_tag


More information about the Rpm-list mailing list