[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mageia-dev
Subject:    [Mageia-dev] %{foo} vs. %foo
From:       Zé <mmodem00 () gmail ! com>
Date:       2011-08-21 22:16:24
Message-ID: CAJZLoOzt7X1SjqciFGLsG4H-ePUhG06E-K1QXp7JymgT-vxFgg () mail ! gmail ! com
[Download RAW message or body]

Hi,

Theres been a private discussion regarding the macro correct layout, if
%{foo} or %foo.

This rised when in the wiki page
http://mageia.org/wiki/doku.php?id=kde4_packaging_policy i changed the spec
layout from %foo into %{foo} to be as a reference point, in wich mikala has
reverted back to %foo, and this discussion has taken other porportions so i
would like your opinions regarding this.

I have pointed that for a wiki page should be proper to use %{...} to avoid
doubts specially in beginners minds, since in some situations we need really
to use the {} delimitations.
In wich its recommendation its focused in this cute PDF from redhat website:

http://www.redhat.com/promo/summit/2008/downloads/pdf/Wednesday_130pm_Tom_Callaway_OSS.pdf

Im not refering that now we should use only %{...}, that usage can be
handled from the user prespective (for example in my specs locally i
generally dont use delimitations), some like others dont.

As we also see in rpm macros document
http://www.rpm.org/wiki/PackagerDocs/Macros that we can use both, but in all
rpm docs and config files the common usage its with delimitations.

regards,
-- 
Zé

[Attachment #3 (text/html)]

<div>Hi,</div><div><br></div>Theres been a private discussion regarding the macro \
correct layout, if %{foo} or %foo.<div><br></div><div>This rised when in the wiki \
page <a href="http://mageia.org/wiki/doku.php?id=kde4_packaging_policy">http://mageia.org/wiki/doku.php?id=kde4_packaging_policy</a> \
i changed the spec layout from %foo into %{foo} to be as a reference point, in wich \
mikala has reverted back to %foo, and this discussion has taken other porportions so \
i would like your opinions regarding this.</div>

<div><br></div><div>I have pointed that for a wiki page should be proper to use \
%{...} to avoid doubts specially in beginners minds, since in some situations we need \
really to use the {} delimitations.</div><div>In wich its recommendation its focused \
in this cute PDF from redhat website:<br clear="all">

<br></div><div><span class="Apple-style-span" style="border-collapse: collapse; \
font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, \
255); "><a href="http://www.redhat.com/promo/summit/2008/downloads/pdf/Wednesday_130pm_Tom_Callaway_OSS.pdf" \
target="_blank" style="color: rgb(0, 0, 0); \
">http://www.redhat.com/promo/summit/2008/downloads/pdf/Wednesday_130pm_Tom_Callaway_OSS.pdf</a></span></div>


<div><br></div><div>Im not refering that now we should use only %{...}, that usage \
can be handled from the user prespective (for example in my specs locally i generally \
dont use delimitations), some like others dont.</div>

<div><br></div><div>As we also see in rpm macros document <a \
href="http://www.rpm.org/wiki/PackagerDocs/Macros">http://www.rpm.org/wiki/PackagerDocs/Macros</a> \
that we can use both, but in all rpm docs and config files the common usage its with \
delimitations.</div>

<div><br></div><div>regards,<br>-- <br>Zé<br>
</div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic