-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-09-19 22:28, Claudio Freire wrote:
On Wed, Sep 19, 2012 at 5:19 PM, Carlos E. R.
wrote: If that package requires exactly 1.6.0, it must be: 1 - it does require java6 and doesn't work with java7, in which case you really need java-1.6.0-openjdk
Yes, but I want to use instead java from Sun, because that's the one third parties want. So I want to install JRE from SUN (no problem with that) and make Yast not force me to instal any other java flavour (1.6)
I haven't installed sun's rpm. He who did... what does it provide? (rpm -q -f <rpm file> -i)
cer@Telcontar:~/Compilaciones/dummies/java> rpm -q -i jre
Name : jre
Version : 1.6.0_33
Release : fcs
Architecture: x86_64
Install Date: 2012-08-21T08:29:33 CEST
Group : Development/Tools
Size : 51435894
License : Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. Also
under other license(s) as shown at the Description field.
Signature : (none)
Source RPM : jre-1.6.0_33-fcs.src.rpm
Build Date : 2012-06-22T04:14:30 CEST
Build Host : jdk-lin-amd64.sfbay.sun.com
Relocations : /usr/java
Packager : Java Software
IMO, the one at fault here is sun's RPM since it must not provide java = 1.6.0.
I don't know why they should not provide 1.6.0. openSUSE provides java-1_6_0-openjdk, too.
Aside from fixing sun's package, whatever it does provide, if specific enough, can be made part of the requires of the proposed pseudopackage that provides java = 1.6.0. That's another fix.
Kind of:
%package -n java-1.6.0-oracle-dummy Requires: <
> Provides: java = 1.6.0 The only maintainance neede there, is synching the requires with java's rpm when Oracle changes it.
The pseudo package must provide, or say it provides, the same thing things that the original "java-1_6_0-sun" from openSUSE provided, which is what yast wants. - -- Cheers / Saludos, Carlos E. R. (from 12.1 x86_64 "Asparagus" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlBaL0oACgkQIvFNjefEBxr0IwCfb7WOxDVT61cBgABOjrtqv7Sr vQsAoIIbsltfLCKaBSzkmncIffE88o1Y =TnIa -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org