I am trying to create 586 rpms from src rpms on a RH 6.0 installation.
I install the src rpm without incident and verified that the appropriate
files are present in /usr/src/redhat/SOURCES and /usr/src/redhat/SPECS.
Then from /usr/src/redhat/SPECS, I do the following
rpm -bb --target i586 <package.spec>
This worked in the past, but now it doesn't.
I get the following output:
Building target platforms: i586
Building for target i586
Executig: %prep
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf <packagename>
+ /bin/gzip -dc /usr/src/redhat/SOURCES/<package.tar.gz>
+ tar -xf -
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd <packagename>
++ /usr/bin/id -u
+ [ 0 = 0 ]
+ /bin/chown -Rf root .
++ /usr/bin/id -u
+ [ 0 = 0 ]
+ /bin/chgrp -Rf .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ echo Patch #<number> #the number depends on the rpm package
Patch #<number>
+ patch -p1 -b --suffix .xtermcolor -s
/var/tmp/rpm-tmp.<number>: patch: command not found #the number
depends on the rpm package
Bad exit status from /var/tmp/rpm-tmp.<number> (%prep)
What's happening?
Paul Kaplan
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.