[packagers] noob help needed with %{dist}

Martin Hamant mh at accelance.fr
Mon May 7 18:37:38 CEST 2007


I bounce this to the list, because it can be useful someday for someone 
:) we never know ^^

Jeff Johnson a écrit :
> 
> On May 4, 2007, at 12:13 PM, Martin Hamant wrote:
> 
>>
>>
>> Yes it could be useful, and it's not possible do that in a bash script 
>> for example. But so, there is a remaining question : "how do I quote a 
>> sample of code which contains expansions, as comment" : I will RTFM.
> 
> Doubling the % character prevents the expansion.
> 
> Specifically, if you want to comment out a
>    %foo
> then you should do
>     # %%foo
> 
> It only matter if %foo expansion is multiline, 2nd and following lines 
> will not be commented out
> 
> 73 de Jeff



More information about the packagers mailing list