diff options
Diffstat (limited to 'zarb-ml/mageia-dev/20110117/002195.html')
-rw-r--r-- | zarb-ml/mageia-dev/20110117/002195.html | 114 |
1 files changed, 114 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/20110117/002195.html b/zarb-ml/mageia-dev/20110117/002195.html new file mode 100644 index 000000000..dd791a623 --- /dev/null +++ b/zarb-ml/mageia-dev/20110117/002195.html @@ -0,0 +1,114 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] Compatibility: %mdkversion macro? + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Compatibility%3A%20%25mdkversion%20macro%3F&In-Reply-To=%3C20110117083808.GG1530%40sisay.ephaone.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="002207.html"> + <LINK REL="Next" HREF="002196.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] Compatibility: %mdkversion macro?</H1> + <B>Michael scherer</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Compatibility%3A%20%25mdkversion%20macro%3F&In-Reply-To=%3C20110117083808.GG1530%40sisay.ephaone.org%3E" + TITLE="[Mageia-dev] Compatibility: %mdkversion macro?">misc at zarb.org + </A><BR> + <I>Mon Jan 17 09:38:08 CET 2011</I> + <P><UL> + <LI>Previous message: <A HREF="002207.html">[Mageia-dev] Python Packaging Policy +</A></li> + <LI>Next message: <A HREF="002196.html">[Mageia-dev] Compatibility: %mdkversion macro? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#2195">[ date ]</a> + <a href="thread.html#2195">[ thread ]</a> + <a href="subject.html#2195">[ subject ]</a> + <a href="author.html#2195">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On Sun, Jan 16, 2011 at 01:19:29AM +0100, Samuel Verschelde wrote: +><i> Le dimanche 16 janvier 2011 00:07:56, Anssi Hannula a écrit : +</I>><i> > Hi all! +</I>><i> > +</I>><i> > Should we have a %mdkversion (and %mdkver/%mdvver) that is hardcoded to +</I>><i> > 201100 for the time being, or should we not have one at all? +</I>><i> > +</I>><i> > Not having it will cause any src.rpms that have any +</I>><i> > "%if %mdkversion < x" to fail to build. +</I>><i> > +</I>><i> > I'm strongly in favor of having it for compatibility reasons, so that +</I>><i> > most MDV src.rpms keep building on Mageia for the time being, including +</I>><i> > those provided by any 3rd party packagers. +</I>><i> > +</I>><i> > Not having the macro will cause us to lose that compatibility for very +</I>><i> > little benefit, IMO. It could maybe be removed after several releases, +</I>><i> > but not before. +</I>><i> > +</I>><i> > However, it seems blino disagreed with this, and he thinks we should not +</I>><i> > have these macros at all. +</I>><i> > +</I>><i> > What do other people think? +</I>><i> +</I>><i> If not having those macros means we can't compile mdv SRPMS on mageia, then +</I>><i> I'd prefer we keep it. +</I> +then keep them forever ? + +Because for one, mdkversion should have disappeared when the suffix was changed, +something like 5 years ago. And the fact we still rely on it is not a good sign. + +More ever, even on Mandriva, most of them do not make much sense. Most of the software +are not backported ( as the usage of the macros is mainly for stuff replaced +by filetrigger ), and they are never cleaned. + +On the file trigger side, we have most of the macros going back to 2009.0, where we +can't backport anything on the BS. And 2010.0 for the trigger for web application, and +I do not think we backport them usually ( as people barely see the value of packaging +them... ). + +So I think we will not have much problem, except this force us to do more cleaning. +Cleaning that obviously didn't happened before, as we are needing to do it now. + +So drop it, have more generic macros, and smarter policy. + +For example, we do use it to wrap %_webapp_postun. We can simply undefine the macro +when we want to have it removed, and define to nothing when is it not used, +rather than using %if / %macro / %endif ( ie, 3 lignes instead of 1 ), and 2 edition of specs +instead of 1, when the macro will do a error. + +-- +Michael Scherer + +</PRE> + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="002207.html">[Mageia-dev] Python Packaging Policy +</A></li> + <LI>Next message: <A HREF="002196.html">[Mageia-dev] Compatibility: %mdkversion macro? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#2195">[ date ]</a> + <a href="thread.html#2195">[ thread ]</a> + <a href="subject.html#2195">[ subject ]</a> + <a href="author.html#2195">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |