diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2011-April/003341.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2011-April/003341.html | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2011-April/003341.html b/zarb-ml/mageia-sysadm/2011-April/003341.html new file mode 100644 index 000000000..e546aed64 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-April/003341.html @@ -0,0 +1,86 @@ +<!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=%3Cm37haz3eza.fsf%40euphor.blino.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="003338.html"> + <LINK REL="Next" HREF="003343.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] mgaversion and mgaver macros</H1> + <B>Olivier Blin</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20mgaversion%20and%20mgaver%20macros&In-Reply-To=%3Cm37haz3eza.fsf%40euphor.blino.org%3E" + TITLE="[Mageia-sysadm] mgaversion and mgaver macros">mageia at blino.org + </A><BR> + <I>Tue Apr 12 13:07:21 CEST 2011</I> + <P><UL> + <LI>Previous message: <A HREF="003338.html">[Mageia-sysadm] mgaversion and mgaver macros +</A></li> + <LI>Next message: <A HREF="003343.html">[Mageia-sysadm] mgaversion and mgaver macros +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#3341">[ date ]</a> + <a href="thread.html#3341">[ thread ]</a> + <a href="subject.html#3341">[ subject ]</a> + <a href="author.html#3341">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Ahmad Samir <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">ahmadsamir3891 at gmail.com</A>> writes: + +><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> +Or this should be dropped. + +Please prefer using distro-name-agnostic macros. +In this case, %distro_release (from product.id macros) + +-- +Olivier Blin - blino +</PRE> + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="003338.html">[Mageia-sysadm] mgaversion and mgaver macros +</A></li> + <LI>Next message: <A HREF="003343.html">[Mageia-sysadm] mgaversion and mgaver macros +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#3341">[ date ]</a> + <a href="thread.html#3341">[ thread ]</a> + <a href="subject.html#3341">[ subject ]</a> + <a href="author.html#3341">[ 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> |