[fedora-java] aot-compile-rpm
Gary Benson
gbenson at redhat.com
Wed Jul 13 10:06:37 UTC 2005
Andrew Overholt wrote:
> * Gary Benson <gbenson at 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
More information about the java-devel
mailing list