On Thu, 26 Dec 2002, Ben Reser wrote:
> On Thu, Dec 26, 2002 at 03:32:21PM +0100, J.A. Magall�n wrote:
> >
> > On 2002.12.26 Frederic Lepied wrote:
> > > --=-=-=
> > > Name : XFree86 Relocations: (not relocateable)
> > > Version : 4.2.99.3 Vendor: MandrakeSoft
> > > Release : 0.20022312.1mdk Build Date: Thu Dec 26 14:38:55 2002
> >
> > Shouldn't this be 20021223 ???
>
> Yup if you want versioning to work right...
>
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' ...
Regards,
Buchan
--
|----------------Registered Linux User #182071-----------------|
Buchan Milne Mechanical Engineer, Network Manager
Cellphone * Work +27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7