Mailinglist Archive: opensuse-buildservice (252 mails)

< Previous Next >
Re: [opensuse-buildservice] Build service problem with SDL_ttf.h need SDL_ttf-devel.
  • From: Marcus Rueckert <mrueckert@xxxxxxx>
  • Date: Wed, 20 Sep 2006 23:41:35 +0200
  • Message-id: <20060920214135.GR30353@xxxxxxx>
On 2006-09-20 20:34:21 +0200, Stefan Dirsch wrote:
> %if %{defined fedora_version}
> BuildRequires: SDL_ttf-devel
> %endif
>
> See also
>
> http://en.opensuse.org/Build_Service/cross_distribution_package_how_to

better use:

%if 0%{fedora_version}
BuildRequires: SDL_ttf-devel
%endif

as it is more portable on old distros

--
openSUSE - SUSE Linux is my linux
openSUSE is good for you
www.opensuse.org
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >