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

https://git.tizen.org/cgit/platform/upstream/systemd.git/tree/packaging/systemd.spec

at release_flags and with_kdbus.

-- 
Łukasz Stelmach
Samsung R&D Institute Poland
Samsung Electronics

Attachment: pgpyfFF477sXG.pgp
Description: PGP signature

_______________________________________________
Rpm-list mailing list
Rpm-list@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-list

Reply via email to