>
> > %{_bindir}/ is expanded to %{_prefix}/bin but yes _bindir is better.
>
> > > lots of macro-izing to do ;)
> > no kidding ;)
> I would really like to help with this, but I need some help in
> understanding
> this macro-izing. At the moment I don't have the time to search through
> the
> cooker list peicing together all the discussions about this topic so I
> can
> understand and work with these macro's (yeah yeah...
stefan maybe in your scripts you can add
cat foo.spec | sed -e 's|/usr/bin|%{_bindir}|' > foo.spec.new ;mv -f
foo.spec.new foo.spec
in your rebuild scripts on alpha and i586.
same goes for /usr/sbin, /usr/info, etc.
yiou can fihnd a list in /usr/lib/rpm.
just remember that some are already partly prefix-ized, that imeans some
have %{_prefix}/bin or %{prefix}/bin so you will need to consider those case
as well.
cu
I'm lazy). (at the
> moment a number of packages aren't building on my system due to this,
> and
> it's bugging me a bit --> I want to get them fixed).
>
> Suggestion: could someone maybe take the time to update the mandrake
> rpm-howto
> (or some other peice of documentation) so that it contains some info
> about
> these macro's. (also: please make the rpm-howto printable). Having
> documentation
> on this subject will make life easier for part-time hackers like me...
> Also,
> it will also reflect the direction that mandrake wants it's packages to
> go...
>
> Please consider it...
>
> Thanks!!
>
> Stefan
>