Bug#676618: java-common: Update java policy for multiarch glue lib (-jni package)
Package: java-common
Version: 0.40
Severity: normal
Please consider applying the attached patch for the debian java policy
-- System Information:
Debian Release: 6.0.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable'), (200, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-0.bpo.2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
java-common depends on no packages.
java-common recommends no packages.
Versions of packages java-common suggests:
ii default-jre 1:1.6-40 Standard Java or Java compatible R
ii equivs 2.0.8 Circumvent Debian package dependen
-- no debconf information
Index: policy.xml
===================================================================
--- policy.xml (revision 16122)
+++ policy.xml (working copy)
@@ -277,7 +277,9 @@
<para>
If a Java library relies on native code, the dynamic libraries
containing this compiled native code &should; be installed into
- the directory <filename>/usr/lib/jni</filename>. These dynamic
+ the directory <filename>/usr/lib/jni</filename> or in
+ <filename>/usr/lib/$(DEB_HOST_MULTIARCH)/jni/</filename> for
+ multi-arch system. These dynamic
libraries &should; be shipped in a separate architecture-specific
package named libXXX[version]-jni. The package containing the Java
bytecode (generally libXXX[version]-java) &should; depend on
Reply to: