-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Austin wrote:
> On 09/26/2003 09:38:37 AM, G�tz Waschk wrote:
>
>> It would be nice if packages would include an implicit epoch tag, so a
>> package build on 9.2 will always be newer than one for 9.1 with the
>> same version and release tags.
>
>
> Hmmm, this is a neat idea. At present, any mdk rpm you grab off the
> net, you have no idea what mandrake release it is built for.
At one stage, I had:
%distribution Mandrake Linux %distro_rel
(and a bit before it - which is still there since I use it in other
macros - :
%distro_rel %(awk '{print $4}' /etc/mandrake-release)
)
But rpmlint doesn't like this.
>
> Would that work, having epoch: 9.2 in every package? We use epoch so
> rarely that it might be okay, and we could use 9.2.1 if we REALLY
> needed a new epoch, right?
>
> Of course this would require a total rebuild of the distro, edited by
> hand... no small task. Maybe this could be done at the same time that
> we switch to a full-distro rebuild robot that would force everyone to
> fix their buildrequires (me especially).
I don't know if automatic rebuilds can easily (and reliably) change
version numbers or release numbers. Epoch numbers would have to be
evaluated at build time, adding the packages own Epoch number, without
having a recursive macro (which rpm doesn't like).
For the meantime, decrementing the release number by decimals may be a
better idea.
BTW, I actually need a solution for this too. At present, all samba
builds from the source release get identical %{version}-%{release} which
is probably a bad thing ...
Regards,
Buchan
- --
|--------------Another happy Mandrake Club member--------------|
Buchan Milne Mechanical Engineer, Network Manager
Cellphone * Work +27 82 472 2231 * +27 21 8828820x202
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/dGH/rJK6UGDSBKcRAkQUAJkB9uPU2XMLRTpIgkKpEKaVCfjH2gCggU/y
y+tfu+idKxMyLoiu2Vlxu1c=
=R3Sg
-----END PGP SIGNATURE-----
*****************************************************************
Please click on http://www.cae.co.za/disclaimer.htm to read our
e-mail disclaimer or send an e-mail to [EMAIL PROTECTED] for a copy.
*****************************************************************