diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2011-April/003356.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2011-April/003356.html | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2011-April/003356.html b/zarb-ml/mageia-sysadm/2011-April/003356.html new file mode 100644 index 000000000..5d616ec68 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-April/003356.html @@ -0,0 +1,100 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] mgaversion and mgaver macros + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20mgaversion%20and%20mgaver%20macros&In-Reply-To=%3CBANLkTi%3DsYVKZ-%2BvLuxAYyQKAx%2BsZ%2B3Bv1Q%40mail.gmail.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="003354.html"> + <LINK REL="Next" HREF="003340.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] mgaversion and mgaver macros</H1> + <B>Ahmad Samir</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20mgaversion%20and%20mgaver%20macros&In-Reply-To=%3CBANLkTi%3DsYVKZ-%2BvLuxAYyQKAx%2BsZ%2B3Bv1Q%40mail.gmail.com%3E" + TITLE="[Mageia-sysadm] mgaversion and mgaver macros">ahmadsamir3891 at gmail.com + </A><BR> + <I>Thu Apr 14 21:12:05 CEST 2011</I> + <P><UL> + <LI>Previous message: <A HREF="003354.html">[Mageia-sysadm] mgaversion and mgaver macros +</A></li> + <LI>Next message: <A HREF="003340.html">[Mageia-sysadm] Hobbit [528732] jonund.mageia.org:cpu warning (YELLOW) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#3356">[ date ]</a> + <a href="thread.html#3356">[ thread ]</a> + <a href="subject.html#3356">[ subject ]</a> + <a href="author.html#3356">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On 14 April 2011 13:41, Michael Scherer <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">misc at zarb.org</A>> wrote: +><i> Le mardi 12 avril 2011 à 13:07 +0200, Olivier Blin a écrit : +</I>>><i> Ahmad Samir <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">ahmadsamir3891 at gmail.com</A>> writes: +</I>>><i> +</I>>><i> > Hello, +</I>>><i> > +</I>>><i> > $ rpm --showrc | grep mgaver +</I>>><i> > -14: mgaver     1 +</I>>><i> > -14: mgaversion %(perl -pe '/(\d+)\.(\d)\.?(\d)?/; $_="$1$2".($3||0)' +</I>>><i> > /etc/release) +</I>>><i> > +</I>>><i> > $ perl -pe '/(\d+)\.(\d)\.?(\d)?/; $_="$1$2".($3||0)' /etc/release +</I>>><i> > 0 +</I>>><i> > +</I>>><i> > +</I>>><i> > this should be fixed before first release. +</I>>><i> +</I>>><i> Or this should be dropped. +</I>><i> +</I>><i> +1 +</I>><i> +</I>>><i> Please prefer using distro-name-agnostic macros. +</I>>><i> In this case, %distro_release (from product.id macros) +</I>><i> +</I>><i> Could we have a warning, or something like that so we can do a smooth +</I>><i> migration ? +</I>><i> +</I>><i> +</I>><i> -- +</I>><i> Michael Scherer +</I> +The only way %mdkversion got really dropped was removing it altogether +and making the build fail. So a post to -dev saying "%mgaver and +%mgaversion are gone" should be good enough. + +Also note that those two macros aren't widely used in the specs, yet; +given the fact Mageia 1 is still not released yet. + +-- +Ahmad Samir +</PRE> + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="003354.html">[Mageia-sysadm] mgaversion and mgaver macros +</A></li> + <LI>Next message: <A HREF="003340.html">[Mageia-sysadm] Hobbit [528732] jonund.mageia.org:cpu warning (YELLOW) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#3356">[ date ]</a> + <a href="thread.html#3356">[ thread ]</a> + <a href="subject.html#3356">[ subject ]</a> + <a href="author.html#3356">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm +mailing list</a><br> +</body></html> |