Kernel
Jakub Bogusz
qboosh at prioris.mini.pw.edu.pl
Sun Apr 29 01:30:17 CEST 2001
On Mon, Apr 23, 2001 at 06:07:23PM +0200, Tomasz Kłoczko wrote:
> It is possible use this in much more elegant way:
>
> %ifndef bcond_off_patch
> %patch0
> %patch1
> .
> .
> %endif
No, rpm (4.0.2 at least) doesn't understand %ifdef/%ifndef (TODO? ;)).
It may be something like:
%if %{?bcond_off_patch:0}%{!?bcond_off_patch:1}
...
%endif
--
Jakub Bogusz
http://prioris.mini.pw.edu.pl/~qboosh/
More information about the pld-devel-en
mailing list