[fedora-java] db merging script

Anthony Green green at redhat.com
Wed Mar 23 19:22:52 UTC 2005


On Wed, 2005-03-23 at 13:53 -0500, Andrew Overholt wrote: 
> > The %post and %postun spec file sections can simply do:
> > 
> > DB=`gcj-dbtool -p %{_libdir}`
> > 
> > and use DB for the database name.  Presumably rpm will make sure that
> > _libdir refers to the correct lib directory for the target ABI.
> 
> This sounds good.  Can we put a database subdirectory at the same location?
> 
> LIBDIR/gcj-VERSION/classmap.d

Yes - in my spec file proposal I used $DB.d.

AG





More information about the fedora-devel-java-list mailing list