On Fri, Mar 6, 2009 at 12:48 AM, Mamoru Tasaka
<mtasaka(a)ioa.s.u-tokyo.ac.jp> wrote:
Your spec file says this is noarch, i.e. arch-independent. That is,
it is
expected that files are installed under the same path
regardless of what architecture this srpm is rebuilt on.
However as you know the macro %_libdir is arch-dependent, so
this is wrong.
- If this package is really noarch, you should use /usr/lib (or
%_prefix/lib),
not %_libdir, c.f.
https://www.redhat.com/archives/fedora-devel-list/2008-December/msg02034.html
- If this package is arch-dependent, you should create a patch to modify
install path.
The script my package uses is supplied by a different (arch-specific)
package, so I don't think either of these points apply.
--
Mat Booth
www.matbooth.co.uk