[Mageia-dev] File location in mono packages

Pascal Terjan pterjan at gmail.com
Sun Aug 12 14:27:38 CEST 2012


On Sun, Aug 12, 2012 at 1:06 PM, Colin Guthrie <mageia at colin.guthr.ie> wrote:
> 'Twas brillig, and Bersuit Vera at 12/08/12 09:28 did gyre and gimble:
>>
>> Hi Nico:
>> rpmlint says warning:
>> hardcoded-library-path in% {_prefix} / lib
>>
>> A library path is hardcoded to one of the Following paths: / lib, / usr
>> / lib. It
>> Should Be Replaced by something like /% {_lib} or% {_libdir}.
>
> Normally yes, but in this case it doesn't really apply.
>
> We have previously discussed the "correct" location for these kind of
> things, but ultimately using %{_prefix}/lib seemed to be the correct
> solution I think.

I would have expected /usr/share if they are noarch but well
perl/ruby/... do the same...
rpmlint doesn't complain because we have macros for them


More information about the Mageia-dev mailing list