Re: Programmatically force release

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


It was <2015-03-05 czw 15:13>, when Pierre-Gildas MILLON wrote:
> Hi people,
> I'm trying to reproduce maven's philosophy with snapshots when building my
> RPM :
> if release endswith SNAPSHOT then
>     release = concat(release, "-", timestamp)
> I tried something like this without any result :
> test.spec :
> Release:        SNAPSHOT
> %{?force_release: %define release %{force_release}}
> ...
> rpmbuild -ba --define="force_release SNAPSHOT-$TIMESTAMP"

Take a look here

at release_flags and with_kdbus.

Łukasz Stelmach
Samsung R&D Institute Poland
Samsung Electronics

Attachment: pgpz0BNhmOsSU.pgp
Description: PGP signature

Rpm-list mailing list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux