From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2011-August/007435.html | 109 +++++++++++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 zarb-ml/mageia-dev/2011-August/007435.html (limited to 'zarb-ml/mageia-dev/2011-August/007435.html') diff --git a/zarb-ml/mageia-dev/2011-August/007435.html b/zarb-ml/mageia-dev/2011-August/007435.html new file mode 100644 index 000000000..329cf57ef --- /dev/null +++ b/zarb-ml/mageia-dev/2011-August/007435.html @@ -0,0 +1,109 @@ + + + + [Mageia-dev] %{foo} vs. %foo + + + + + + + + + +

[Mageia-dev] %{foo} vs. %foo

+ andre999 + andr55 at laposte.net +
+ Mon Aug 22 23:58:45 CEST 2011 +

+
+ +
Jerome Quelin a écrit :
+> On 11/08/21 19:29 -0400, andre999 wrote:
+>> It would be nice to have it clearly documented as to when it is
+>> strictly necessary -- and why.  As well as giving a preferred style,
+>> if any.
+>> (If that hasn't already been done, of course.)
+>
+> in mdv time, i think the convention was to use %{} for variables, and %
+> for macro that do sthg. that's why i'm using this in perl modules spec
+> files:
+>
+>      version: %perl_convert_version %{upstream_version}
+>
+> regards,
+> jérôme
+>
+That's what I was told to do by my mentor.
+Maybe a little awkward adding the {...}, but worth the clarity.
+Especially in a context like perl, it would make it a lot easier to follow the 
+code.  (Particulary for someone not totally familiar with perl, like myself.)
+So that has my vote :)
+
+-- 
+André
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1