Bug#282902: java-package: patch to fix this bug

Peter Marschall Peter Marschall <peter@adpm.de>, 282902@bugs.debian.org
Sun Jan 2 14:25:22 2005


This is a multi-part MIME message sent by reportbug.

--===============0374655168==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: java-package
Version: 0.17pm1
Followup-For: Bug #282902

Hi,

the attached patch should fix the problem.
It is the only difference between Suns JREs and Suns JDKs
regarding the Provides: line in the created debian control file.

Hope it helps
Peter


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-k7
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

Versions of packages java-package depends on:
ii  debhelper                     4.2.28     helper programs for debian/rules

-- no debconf information

--===============0374655168==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="java-package-jre.patch"

--- lib/j2re.sh	2004-10-12 01:24:31.000000000 +0200
+++ lib/j2re.sh	2005-01-02 15:24:11.000000000 +0100
@@ -12,7 +12,7 @@
 Package: $j2se_package
 Architecture: any
 Depends: \${shlibs:Depends}, $j2se_package_debian
-Provides: java-common, java-virtual-machine, java-runtime, java2-runtime, java-browser-plugin, j2re\${j2se_release}
+Provides: java-common, java-virtual-machine, java-runtime, java2-runtime, java-browser-plugin, j2re${j2se_release}
 Description: $j2se_title
  The Java(TM) 2 Runtime Environment contains the Java virtual machine,
  runtime class libraries, and Java application launcher that are

--===============0374655168==--