On Thu, Dec 26, 2002 at 10:22:44PM +0200, Buchan Milne wrote:
> I think we could do with a few more rpm macros, or some scripts to
> automate building from cvs a bit more. How about:
>
> %define rel 1mdk
>
> %if build_cvs
> Release: %(echo "0.`date +%Y%m%d -r %{SOURCE}`.%{rel}")
> %else
> Release: rel
> %endif
>
> I guess I should look at finishing up urpmb, with or without a working
> 'rpm -q --qf "%{SOURCE}\n" --specfile $PACKGE.spec' ...
Problem that would make the release tag change if the package gets
rebuilt a few days later.
--
Ben Reser <[EMAIL PROTECTED]>
http://ben.reser.org
"If you're not making any mistakes, you're flat out not trying hard
enough." - Jim Nichols