Andrew Overholt wrote:
* Gary Benson <gbenson(a)redhat.com> [2005-07-06 11:41]:
>
> 5. Add "%attr(-,root,root) %{_libdir}/gcj/%{name}" to %files.
I've chopped down the Eclipse specfile and changed it to use
your
new aot-compile, but the files section is confusing to me. With
Eclipse, we split up the package into sub-RPMs. Can we make it so
that the native bits are split up like this?
Unfortunatly no, not automatically. The information is not made
available by rpm. There are two options:
Should I just go through and change my current
%{_libdir}/%{name}/<blah> to %{_libdir}/gcj/%{name}/<blah> in each
of the sub-packages' %files sections?
This is one option. The other is to rearrange the files after the
aot-compile-rpm line in %install. The one you suggested is probably
better.
Cheers,
Gary