Mailinglist Archive: opensuse-buildservice (193 mails)

< Previous Next >
Re: [opensuse-buildservice] Conditional %include?
  • From: Richard Bos <ml@xxxxxxxxxx>
  • Date: Sat, 14 Apr 2007 14:25:05 +0200
  • Message-id: <200704141425.05878.ml@xxxxxxxxxx>
Op zaterdag 14 april 2007 14:05, schreef Marcus Hüwe:
> On 2007-04-14 00:03:17 +0200, Marcus Rueckert wrote:
> > %if "%_vendor" == "suse"
> > Source1: redhat.init
> > %else
> > Source1: suse.init
> > %endif
>
> Well.. this works of course but it's not a good idea to do something like
> this IMHO. Imagine you will grab the suse src.rpm and try to rebuild it on
> a redhat system. So it's better to include _all_ sources and put the %if's
> into the %install section.

That's very true, Marcus!

-- 
Richard Bos
Without a home the journey is endless
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >