I don't seem to be able to rebuild jpackages Java, I installed
this on FC 4
java-1.5.0-sun-1.5.0.03-1jpp.nosrc.rpm
jdk-1_5_0_04-linux-i586.bin
jre-1_5_0_04-linux-i586.bin
And this is the result
[david@reddwarf rpmbuild]$ ls BUILD/
jdk1.5.0_04 jre1.5.0_04
[david@reddwarf rpmbuild]$ ls SOURCES/
jdk-1_5_0_04-linux-i586.bin jre1_5_0_04-linux-i586.bin
[david@reddwarf rpmbuild]$ rpmbuild -ba --target=i686 \
SPECS/java-1.5.0-sun.spec
Building target platforms: i686
Building for target i686
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.66454
+ umask 022
+ cd /home/david/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf /home/david/rpmbuild/BUILD/jre1.5.0_04
+ export MORE=10000
+ MORE=10000
+ sh /home/david/rpmbuild/SOURCES/jdk-1_5_0_04-linux-i586.bin
replace jdk1.5.0_04/jre/bin/java? [y]es, [n]o, [A]ll, [N]one, [r]ename:
NULL
(assuming [N]one)
+ cd /home/david/rpmbuild/BUILD
+ cd jre1.5.0_04
/var/tmp/rpm-tmp.66454: line 32: cd: jre1.5.0_04: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.66454 (%prep)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.66454 (%prep)
Am I using the wrong packages or building it wrong.
Thanks david