SPECS: wget.spec - disable porn patch (usability first,

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Fri Dec 31 16:56:31 CET 2004


Przemysław Iskra <sparky at servek.sparky.homelinux.org> writes:

> #%%patch9 -p1
>  ^^ - shouldn't it be like that ?
>
> I've seen it in some FAQ, but what does '%%' do ?

rpm macroexpansion happens before the shell interprets # as a comment.
If the macro expanded to several lines, only the first line would get
commented. %% expands to %, i.e. disables expansion of the patch macro.

-- 
   __("<         Marcin Kowalczyk
   \__/       qrczak at knm.org.pl
    ^^     http://qrnik.knm.org.pl/~qrczak/




More information about the pld-devel-en mailing list