Description of problem: icedtea-web 1.1 always uses the jre it is built against to run. The spec file BuildRequires java-1.7.0-openjdk but Requires java-1.6.0-openjdk. This results in a icedtea-web build that does not function unless the user installs java-1.7.0-openjdk manually. Version-Release number of selected component (if applicable): icedtea-web-1.1.1-2.fc16.x86_64 How reproducible: every time Steps to Reproduce: 1. rpm -e java-1.7.0-openjdk 2. yum install java-1.6.0-openjdk 3. yum install icedtea-web 4. javaws.itweb Actual results: /usr/bin/javaws.itweb: line 26: /usr/lib/jvm/java-1.7.0-openjdk.x86_64/bin/java: No such file or directory
Created attachment 518459 [details] fix requires The attached patch should fix the bug, but there are other parts of the spec file that concern me too. If icedtea-web is built against java-1.7.0-openjdk, then it should provide/obsolete java-1.7.0-openjdk-plugin and not java-1.6.0-openjdk-plugin On that note, is (a package providing) java.1.6.0-openjdk-plugin supposed to be paralllel-installable with (a package-providing) java-1.7.0-openjdk-plugin?
Thanks for the patch, I will check it out later today. As for the other concerns... There has never been a java-1.7.0-openjdk-plugin. Obsoleting java-1.6.0-openjdk-plugin is correct in this case as that is the one we want gone from the system when icedtea-web is installed. As for provides -- it is there for compatibility with packages that require the old name (java-1.6.0-openjdk-plugin). No, parallel installs are not allowed.
Fixed in icedtea-web-1.1.1-3.fc16