Mailinglist Archive: opensuse-buildservice (253 mails)
| < Previous | Next > |
Re: [opensuse-buildservice] Other Platforms than (open)SUSE in BS
- From: "Dominique Leuenberger" <Dominique.Leuenberger@xxxxxxxxxxxxx>
- Date: Fri, 17 Nov 2006 16:14:03 +0100
- Message-id: <s55ddfde.054@xxxxxxxxxxxxxxxxxx>
>>> Reply on 17-11-2006 17:13:04 <<<
> On 11/17/06, Dominique Leuenberger
<Dominique.Leuenberger@xxxxxxxxxxxxx>
> wrote:
>
> > something like
> >
> > %if %suse
> > BuildRequires: alsa-devel
> > %else if %mandriva
> > buildRequires: libalsa-devel
> > %endif
> >
>
> We are using the following in our repository, you can check those
specs
> out.
>
> %if "%_repository" == "SUSE_Linux_10.1" || "%_repository" ==
"SLE_10"
> BuildRequires: xorg-x11-compat70-devel
> %endif
> %if "%_repository" != "SUSE_Linux_10.0"
> BuildRequires: libdrm-devel
> %endif
>
> http://build.opensuse.org/project/show?project=X11%3AXGL
>
> Cheers
>
Thank you very much... I'll have a look into this.
Are the set variables somewhere documented or are they just a good
guess? (ok: _repository IS guessable)
Dominiue
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
| < Previous | Next > |