RE: [opensuse-buildservice] Mandriva 2006 check in spec file
Hi Adrian: I don't think that works (just tested it). BTW, on Red Hat/Fedora, /usr/lib/libfreetype.a is provided by freetype-devel, however, it is provided by libfreetype6-static-devel on Mandriva 2006, so perhaps you want to add that to your mapping such that freetype-devel on Red Hat/Fedora expands to freetype-devel and libfreetyp6-static-devel. P.S. Build on Mandriva 2006 gives: "error: cannot open Pubkeys index using db3 - No such file or directory (2)" - not sure if this is known issue or not. Cheers, Bernard ________________________________ From: Adrian Schröter [mailto:adrian@suse.de] Sent: Mon 29/05/2006 22:56 To: opensuse-buildservice@opensuse.org Subject: Re: [opensuse-buildservice] Mandriva 2006 check in spec file Am Tuesday 30 May 2006 04:13 schrieb Bernard Li:
Hi Guys:
Anybody knows the equivalent of "%if %{?suse_version:1}0" under Mandriva 2006?
does %if %_host_vendor = "mandriva" work ? -- Adrian Schroeter SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice-help@opensuse.org
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@suse.de
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice-help@opensuse.org
-- Daniel Bornkessel Tel: +49 911 740 53 161 Novell :: SUSE R&D :: Internal Tools / Java Packaging ______________________________________________________________________ :wq
participants (2)
-
Bernard Li
-
Daniel Bornkessel