Hello all I've been trying to make a package for a couple of days, to automatically install a pair of alternate jar and set them as the actual choice in update-alternatives. The first jars & the alternate is set up by Sun JRE, line 458 to 476 here: https://build.opensuse.org/package/view_file?file=java-1_6_0-sun.spec&package=java-1_6_0-sun&project=Java%3Asun%3AFactory&srcmd5=8aea4f089570862261408edfb17cdad0 https://build.opensuse.org/package/view_file?file=java-1_6_0-sun.spec&package=java-1_6_0-sun&project=Java%3Asun%3AFactory&srcmd5=8aea4f089570862261408edfb17cdad0 My package is meant to install the Sun-provived alternatives of those jars (whose interest is to lift cryptography limitation). It's here: https://build.opensuse.org/package/view_file?file=jce.spec&package=jce_sun&project=network%3Acluster%3Axtreemos&srcmd5=3206c8ca26e969b6ea7c537c41bc878f https://build.opensuse.org/package/view_file?file=jce.spec&package=jce_sun&project=network%3Acluster%3Axtreemos&srcmd5=3206c8ca26e969b6ea7c537c41bc878f My problem is that after installation, in /etc/alternives I have: jce_1.6.0_sun_local_policy -> /usr/lib64/jvm-private/java-1_6_0-sun/jce/vanilla/local_policy.jar jce_1.6.0_sun_us_export_policy -> /usr/lib64/jvm-private/java-1_6_0-sun/jce/vanilla/US_export_policy.jar jce_1.6.0_sun_local_policy*.rpm-new* -> /usr/share/java/jce/local_policy.jar The expected result being: jce_1.6.0_sun_local_policy -> /usr/share/java/jce/local_policy.jar jce_1.6.0_sun_us_export_policy -> /usr/share/java/jce/US_export_policy.jar An "update-alternatives --all" end up giving me the following: There are 2 alternatives which provide `jce_1.6.0_sun_local_policy*.rpm-new* ------------- (option 1 & 2) Press enter to ... update-alternatives: unable to make /usr/*lib*/jvm /java-1.6.0-sun-1.6.0/jre/lib/security/local_policy.jar.*rpm-tmp* a symlink t /etc/alternatives/jce_1.6.0_sun_local_policy.*rpm-new*: No such file or directoy So... that's it. I don't understand why and how rpm installation enforce a rpm-new on update-alternates stuff during postinstall step... I guess I can't just add a %files /etc/alternates/jce*, ... plus, why /usr/lib/ instead of /usr/lib64 ? rpm --eval %_libdir give me a proper /usr/lib64... I can't think about anything that may work properly. Please help ? Thanks in advance, Rémy -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org