Kernel
Tomasz Kłoczko
kloczek at rudy.mif.pg.gda.pl
Mon Apr 23 18:07:23 CEST 2001
On Mon, 23 Apr 2001, Jan Rekorajski wrote:
[..]
> > bcond's will be only in patch section.
> > %{!?bcond_off_patch:patch0}
> > %{!?bcond_off_patch:patch1}
> > %{!?bcond_off_patch:patch2}
> > %{!?bcond_off_patch:patch3}
> > %{!?bcond_off_patch:patch4}
> > %{!?bcond_off_patch:patch5}
> > %{!?bcond_off_patch:patch6}
> > ....
> >
> > is it so difficult to maintain this?
>
> It's unreadable, don't forget that there are also sources and nasty hacks.
> Try it, it will be a mess. And remember who's maintaining this package ;>
>
> Maybe if you do it the way test_build is done on LINUX_2_4 branch, then
> I might agree.
It is possible use this in much more elegant way:
%ifndef bcond_off_patch
%patch0
%patch1
.
.
%endif
:_)
kloczek
--
-----------------------------------------------------------
*Ludzie nie mają problemów, tylko sobie sami je stwarzają*
-----------------------------------------------------------
Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: kloczek at rudy.mif.pg.gda.pl*
More information about the pld-devel-en
mailing list