Altering %{_libdir}

PFJ paul at all-the-johnsons.co.uk
Tue Apr 18 09:09:13 UTC 2006


Hi,

One of the problems of packaging for mono is that it expects libs et al
to be in /usr/lib and not /usr/lib64. This causes lots of problems.

Is there a way to say in the spec something akin to

if %{_libdir} != '/usr/lib'
  ${_libdir} = '/usr/lib';

Whenever I've tried to use --libdir inside of the CXX definition,
something gets confused and the software refuses to build.

TTFN

Paul
-- 
"Logic, my dear Zoe, is merely the ability to be wrong with authority" -
Dr Who




More information about the fedora-extras-list mailing list