Use rpmbuild instead of rpm - that's how it's called on RedHat 8.0.

This commit is contained in:
Pavel Roskin 2002-10-03 02:03:43 +00:00
parent bba809f2e9
commit 93fa9092e8

View File

@ -42,7 +42,7 @@ if test -z "$MCVERSION" || test ! -f "$MCTARBALL"; then
fi fi
rm -f $RPM_SRC_DIR/RPMS/i386/mc-*.i386.rpm rm -f $RPM_SRC_DIR/RPMS/i386/mc-*.i386.rpm
rpm -tb "$MCTARBALL" rpmbuild -tb "$MCTARBALL"
MC_RPM=`echo $RPM_SRC_DIR/RPMS/i386/mc-*.i386.rpm` MC_RPM=`echo $RPM_SRC_DIR/RPMS/i386/mc-*.i386.rpm`
if test ! -f $MC_RPM; then if test ! -f $MC_RPM; then
echo "Failed to compile package!!!" echo "Failed to compile package!!!"