JDK/JRE packaging

Paweł Zuzelski z at xatka.net
Thu Dec 31 10:28:57 CET 2009


Hello,

currently in PLD it is impossible to install few JDKs or JREs on
single system, because of files in %{_mandir} and %{_bindir}. All
the files in %{_bindir} are symlinks to some path containing JVM
vendor and version number (for example:
/usr/lib/jvm/java-sun-1.6.0.17).

If we create a new subpackage containing only these files, it will
be possible to install few JDKs/JREs and choose the default one by
installing apropriate "symlinks" subpackage. Other JDKs/JREs can be
accessed using JAVA_HOME env variable.

My proposition:
1. move content of %{name} to %{name}-java_home-jdk subpackage
2. move content of %{name}-jre to %{name}-java_home-jre
   subpackage
3. move content of %{name}-tools to %{name}-java_home-tools
   subpackage
4. leave %{_bindir}/* and %{_mandir}/* in %{name}, %{name}-jre,
   %{name}-tools

-- 
Pozdrawiam,
Paweł


More information about the pld-devel-en mailing list