[Mageia-dev] Compatibility: %mdkversion macro?

Angelo Naselli anaselli at linux.it
Sun Jan 16 11:26:54 CET 2011

In data domenica 16 gennaio 2011 00:07:56, Anssi Hannula ha scritto:
> Hi all!
> Should we have a %mdkversion (and %mdkver/%mdvver) that is hardcoded to
> 201100 for the time being, or should we not have one at all?
> Not having it will cause any src.rpms that have any
> "%if %mdkversion < x" to fail to build.
> I'm strongly in favor of having it for compatibility reasons, so that
> most MDV src.rpms keep building on Mageia for the time being, including
> those provided by any 3rd party packagers.
> Not having the macro will cause us to lose that compatibility for very
> little benefit, IMO. It could maybe be removed after several releases,
> but not before.
I believe you're right at the moment, now that we're importing things, 
but after the very first time, starts becoming nonsense since
i believe we're going to work on our packages distro per distro not taking
every time srpms from mandriva as we're doing now.
> However, it seems blino disagreed with this, and he thinks we should not
> have these macros at all.
the good should be to have some common macros the allows us to build
packages form one distro to other. I ported in my rhel 4 and 5 mkrel to get
most compatibility to mandriva specs. But now fedora (hope rhel 6 as well)
uses %dist so why not to use a common point to that macro and extend 
> What do other people think?
I think we should think to a transition solution at least...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/mageia-dev/attachments/20110116/c60fb526/attachment.asc>

More information about the Mageia-dev mailing list