* Björn Persson:
The macro could be defined like this for example:
%buildtag .%(date +%%s)
Using time for synchronization is always a bit iffy.
It would be used in each spec like this:
Release: 1%{?dist}%{?buildtag}
We could put the Koji task ID directly into the %dist tag. We know that
this works in principle. If we are worried that the number gets too
large, we could subtract the current task ID at the time the fcNN part
of the %dist tag changes.
The %dist tag is not recorded in the changelog by most packages, so the
changelog does not need changing.
Thanks,
Florian