Paul Howarth kirjoitti viestissään (lähetysaika tiistai, 28. kesäkuuta 2005 13:40): > Worked for me without making any changes to the spec file. > > All I used were: > java-1.5.0-sun-1.5.0.03-1jpp.nosrc.rpm (from jpackage site) > jdk-1_5_0_03-linux-i586.bin (from Sun site) Version 1.5.0.04 for the latest Sun Java version fails with the following error: + pushd '/home/mk/src/rpmbuild/tmp/java-1.5.0-sun-1.5.0.04-1jpp-buildroot/%{_jvmdir}/java-1.5.0-sun-1.5.0.04/jre/lib' /home/mk/src/rpmbuild/tmp/rpm-tmp.34241: line 129: pushd: /home/mk/src/rpmbuild/tmp/java-1.5.0-sun-1.5.0.04-1jpp-buildroot/%{_jvmdir}/java-1.5.0-sun-1.5.0.04/jre/lib: No such file or directory error: Bad exit status from /home/mk/src/rpmbuild/tmp/rpm-tmp.34241 (%install) RPM build errors: Bad exit status from /home/mk/src/rpmbuild/tmp/rpm-tmp.34241 (%install) Looks like the variable _jvmdir is undefined. It's used in several places in the .spec file but I can't find any definition. -- Markku Kolkka markku.kolkka@xxxxxx