Remove dashes from the version in the RPM package.

Use exact name of the RPM package.
This commit is contained in:
Pavel Roskin 2003-06-18 05:59:17 +00:00
parent 9e147de291
commit 44b8819b9a

View File

@ -69,7 +69,8 @@ fi
rm -f $RPM_SRC_DIR/RPMS/i386/mc-*.i386.rpm
rm -rf $RPM_SRC_DIR/BUILD/mc-*/
rpmbuild -tb "$MCTARBALL"
MC_RPM=`echo $RPM_SRC_DIR/RPMS/i386/mc-$MCVERSION-*.i386.rpm`
MC_RPM_VERSION=`echo $MCVERSION | sed s/-//g`
MC_RPM=$RPM_SRC_DIR/RPMS/i386/mc-$MC_RPM_VERSION-1.i386.rpm
if test ! -f $MC_RPM; then
echo "Failed to compile package!!!"
exit 1