[fedora-java] Patch to find-and-nativify
david at zarb.org
Mon Apr 11 01:28:42 UTC 2005
Robin Green wrote:
>This proposed patch makes 4 changes to the find-and-nativify in
>- Generates a database as it goes, rather than forcing the spec file
>writer to write a similar script to build the db.
It makes sense to move the gcj-specific stuff out of the spec, but it
also makes sense to do so in a jdk-agnostic way. So, wouldn't it make
sense for find_and_nativify to be an rpm macro in jpackage-utils
/etc/rpm/macros.jpackage rather than to have it exist only in
java-1.4.2-gcj-compat? It would perhaps just define itself to `:' if the
compiler is not gcj (or if a particular package breaks when nativified).
A method is still needed in order to determine if gcj is being used.
File lists for native libs would also need to be generated so that the file list does not need to be altered when building a non-nativified rpm. (One must still be careful not to list the files twice by accident).
<david at zarb.org>
More information about the java-devel