[fedora-java] libvirt-java bindings

David Walluck david at zarb.org
Tue Jul 1 18:01:33 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Benjamin Reed wrote:
| David Walluck wrote:
|
|> Also, there are macros that should be used when refering to the JDK so
|> that you pick up the default JDK used for building and not the current
|> default alternative (e.g., %{java_home}, %{java}, %{javac}, %{jar}).
|
| Aha, I was not aware of these defines.

These should be available through the jpackage macros from
jpackage-utils (see /etc/rpm/macros.jpackage).

| My main issue is that as a package maintainer, if I want to support
| Fedora officially *and* other RPM-based distributions (through our own

Not at all. If you follow the JPackage conventions you will support any
distribution which carries jpackage-utils. These include: ALT, Fedora,
Mandriva, PCLOS, Red Hat, Suse, and possibly others.

This means using java-devel like I said and not relying on the Sun
conventions (this also allows you to support multiple JDK versions and
not just multiple Linux distributions with a single JDK version). Also,
since Sun supported the DLJ Java packages, at least Mandriva is shipping
JPackage-compliant DLJ Sun Java bundles with their OS which would be far
superior to any Sun packaging offering due to JPackage compliance.

This also means, like I said in a previous email, that I don't think
additional macros are needed, but check the macros file first and see if
you think anything is missing.

- --
Sincerely,

David Walluck
<david at zarb.org>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org

iEYEARECAAYFAkhqcP0ACgkQItObMyg2XCVXcQCgiVGskRSE2wj8lAR8vwgy0+TF
1kIAoKshQHjcf/AGOhv6EbU0L1RACWk0
=dkhY
-----END PGP SIGNATURE-----




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