summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2011-April/003356.html
blob: 5d616ec6821ac9f0105dbffebe149777184b574b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
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 &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">misc at zarb.org</A>&gt; wrote:
&gt;<i> Le mardi 12 avril 2011 &#224; 13:07 +0200, Olivier Blin a &#233;crit :
</I>&gt;&gt;<i> Ahmad Samir &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">ahmadsamir3891 at gmail.com</A>&gt; writes:
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> &gt; Hello,
</I>&gt;&gt;<i> &gt;
</I>&gt;&gt;<i> &gt; $ rpm --showrc | grep mgaver
</I>&gt;&gt;<i> &gt; -14: mgaver &#160; &#160; 1
</I>&gt;&gt;<i> &gt; -14: mgaversion %(perl -pe '/(\d+)\.(\d)\.?(\d)?/; $_=&quot;$1$2&quot;.($3||0)'
</I>&gt;&gt;<i> &gt; /etc/release)
</I>&gt;&gt;<i> &gt;
</I>&gt;&gt;<i> &gt; $ perl -pe '/(\d+)\.(\d)\.?(\d)?/; $_=&quot;$1$2&quot;.($3||0)' /etc/release
</I>&gt;&gt;<i> &gt; 0
</I>&gt;&gt;<i> &gt;
</I>&gt;&gt;<i> &gt;
</I>&gt;&gt;<i> &gt; this should be fixed before first release.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Or this should be dropped.
</I>&gt;<i>
</I>&gt;<i> +1
</I>&gt;<i>
</I>&gt;&gt;<i> Please prefer using distro-name-agnostic macros.
</I>&gt;&gt;<i> In this case, %distro_release (from product.id macros)
</I>&gt;<i>
</I>&gt;<i> Could we have a warning, or something like that so we can do a smooth
</I>&gt;<i> migration ?
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> --
</I>&gt;<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 &quot;%mgaver and
%mgaversion are gone&quot; 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>