should java-1.6.0-sun-1.6.0.11-1jpp.nosrc.rpm provide jdk?

Ahmed El Zein <[email protected]>
Newsgroups gmane.linux.jpackage.general
Message-ID <[email protected]>
Hello,
I am trying to install hadoop-0.20 on centos 5.4 I need to install sun
java but I want it cleanly integrated into centos. I understand that I
need to use java-1.6.0-sun-1.6.0.11-1jpp.nosrc.rpm with the binary sun
package to do this.

I am able to successfully build and install the java-1.6.0-sun rpms.
The only problem is when trying to install hadoop I get:
Missing Dependency: jdk >= 1.6 is needed by package
hadoop-0.20-0.20.1+152-1.noarch

The sun provided rpm provides jdk:
[root@hadoo0 ~]# rpm -q --provides -p jdk-6u17-linux-amd64.rpm
jaxp_parser_impl
xml-commons-apis
jdk = 2000:1.6.0_17-fcs

the rebuilt packages do not:
[root@hadoo0 ~]# rpm -q --provides -p java-1.6.0-sun-* | grep jdk
[root@hadoo0 ~]#

In fact none of the rebuilt rpms provide any of what the sun rpm provides:
[root@hadoo0 ~]# rpm -q --provides -p java-1.6.0-sun-* | grep -e
jaxp_parser_impl -e xml-commons-apis -e jdk
[root@hadoo0 ~]#

I would have thought that the rebuilt rpms would provide all that the
sun rpm provides as it is a replacement.

I was just going to add a provides line to the spec file but I thought
I should email the list in case I am missing something.

Thanks,
Ahmed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.