[fedora-java] aot-compile-rpm

Andrew Overholt overholt at redhat.com
Wed Jul 13 12:38:45 UTC 2005


* Gary Benson <gbenson at redhat.com> [2005-07-13 06:06]:
> 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.

Okay, but what about the .db?  Right now we have multiple dbs - one for
each sub-package.  Can we have this as well?

Thanks,

Andrew




More information about the java-devel mailing list