I am trying to achieve the above, following the instructions in
www.fedorafaq.org/fc3/custom_java.html.
I completed step 7, downloading the JPackage Java 1.5.0 Source RPM directly, because I couldn't get it from the Jpackage site, as predicted in the instructions
However, when I followed step 8, this is what I got:
[root@localhost leslie]# rpmbuild --rebuild java-1.5.0-sun*src.rpm
Installing java-1.5.0-sun-1.5.0.03-1jpp.nosrc.rpm
warning: user david does not exist - using root
warning: group nanaruser does not exist - using root
warning: user david does not exist - using root
warning: group nanaruser does not exist - using root
warning: user david does not exist - using root
warning: group nanaruser does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.70995
+ umask 022
+ cd /usr/src/redhat/BUILD
+ rm -rf /usr/src/redhat/BUILD/jdk1.5.0_03
+ export MORE=10000
+ MORE=10000
+ sh /usr/src/redhat/SOURCES/jdk-1_5_0_03-linux-i586.bin
sh: /usr/src/redhat/SOURCES/jdk-1_5_0_03-linux-i586.bin: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.70995 (%prep)
RPM build errors:
user david does not exist - using root
group nanaruser does not exist - using root
user david does not exist - using root
group nanaruser does not exist - using root
user david does not exist - using root
group nanaruser does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.70995 (%prep)
[root@localhost leslie]#
Nor were there created any rpms created in /usr/src/redhat/RPMS/i586/
I'd be grateful for advice as to how to overcome my problem.