Mailinglist Archive: opensuse-buildservice (197 mails)

< Previous Next >
RE: [opensuse-buildservice] Mandriva 2006 check in spec file
  • From: "Bernard Li" <bli@xxxxxxxx>
  • Date: Thu, 1 Jun 2006 16:24:09 -0700
  • Message-id: <36BEEFA2DF192944BF71E072F7A5F4652AD7A4@xxxxxxxxxxxxxxxxxxxxxxx>
Hi Daniel:

I tried it, still doesn't work...

%if %{?mandriva_release:1}0
BuildRequires: librrdtool2-devel, libpng3-devel,
libfreetype6-static-devel
%else
BuildRequires: rrdtool-devel, libpng-devel, freetype-devel
%endif

The buildsystem tried to do substitution for me:

< BuildRequires: rrdtool-devel, libpng-devel, freetype-devel
---
> BuildRequires: freetype-devel libpng3-devel librrdtool2-devel

Thanks,

Bernard

> -----Original Message-----
> From: Daniel Bornkessel [mailto:dbornkessel@xxxxxxx]
> Sent: Tuesday, May 30, 2006 6:46
> To: opensuse-buildservice@xxxxxxxxxxxx
> Subject: Re: [opensuse-buildservice] Mandriva 2006 check in spec file
>
>
> > does
> >
> > %if %_host_vendor = "mandriva"
> >
> > work ?
> >
>
> try
> %if %{?mandriva_release:1}0
>
> ... I think the
> %if %_host_vendor = "mandriva"
> does not work when used for the BuildRequires (could be wrong though).
>
>
>
> > --
> >
> > Adrian Schroeter
> > SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
> > email: adrian@xxxxxxx
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> opensuse-buildservice-unsubscribe@xxxxxxxxxxxx
> > For additional commands, e-mail:
> opensuse-buildservice-help@xxxxxxxxxxxx
>
> --
> Daniel Bornkessel Tel: +49 911 740 53 161
> Novell :: SUSE R&D :: Internal Tools / Java Packaging
> ______________________________________________________________________
> :wq
>

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice-unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice-help@xxxxxxxxxxxx

< Previous Next >
Follow Ups