> 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
> same goes for /usr/sbin, /usr/info, etc.
> you can find a list in /usr/lib/rpm.
yup... this could be made... a script that combs through a spec file
and fixes this.
> in your rebuild scripts on alpha and i586.
hmmm... my scripts are based on rebuilding (rpm --rebuild), the stuff
you mentioned above will require updating the rpm (working off of the
.spec file, raise the mdk number, do the changes (script), add
changelog, upload src.rpm, mailto cooker list with diff). This is
a bit too much I think.
However, when someone is in the process of upgrading / updating a
package,
they could use the script to get most of the work done (manual check
afterwards is required).
> 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.
yup...