On Tue, Jul 03, 2007 at 03:56:45PM -0300, Eduardo Habkost wrote:
> On Tue, Jul 03, 2007 at 11:52:00AM -0700, Roland McGrath wrote:
> > > It's non-obvious to me what %{?buildid} is, but it seems to
> > > auto-increment.
> >
> > buildid is the "please set this to .me" one.
> > fedora_build is the one to bump on commit.
>
> Can't %{fedora_build} be set based on the $Revision$ keyword, to be
> incremented automatically on commit, just like %{specrelease} was
> auto-incremeted previously?
Yes, it can. With..
%define fedora_build %(R="$Revision: 1.3125 $"; RR="${R##: }"; echo %${RR%%?} |
sed s/1\.//)
Which would yield..
kernel-2.6.22-0.3125.rc7.fc8
Dave
--
http://www.codemonkey.org.uk
_______________________________________________
Fedora-kernel-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-kernel-list