Mailinglist Archive: opensuse-buildservice (258 mails)

< Previous Next >
Re: [opensuse-buildservice] mandriva-10.0 misses lib64lcms-devel on x86_64
  • From: Lubos Lunak <l.lunak@xxxxxxx>
  • Date: Mon, 9 Aug 2010 14:56:56 +0200
  • Message-id: <201008091456.56132.l.lunak@xxxxxxx>
On Monday 09 of August 2010, Marcus Hüwe wrote:
On 2010-08-09 12:53:48 +0200, Kai-Uwe Behrmann wrote:
Hello,

In one build I struggle with the lcms and gutenprint dependencies. They
are not resolvable with lcms-devel eigther.
Here an example log file:
https://build.opensuse.org/package/live_build_log?arch=x86_64&package=cin
epaint&project=home%3Abekun&repository=Mandriva_2010

Don't do something like this:
%if "%{_lib}" == "lib64"
BuildRequires...
%endif

This isn't supported by our spec parser. You should use something like:
%ifarch %ix86
# BuildRequires: stuff for ix86
%endif
%ifarch amd64 x86_64
...
%endif

Not even Mandriva packagers are this crazy :). There is a provides that is
provided by both 32bit and 64bit version of the package - just use lcms-devel
and libgutenprint-devel.

--
Lubos Lunak
openSUSE Boosters team, KDE developer
l.lunak@xxxxxxx , l.lunak@xxxxxxx
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >