mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Remove dashes from the version in the RPM package.
Use exact name of the RPM package.
This commit is contained in:
parent
9e147de291
commit
44b8819b9a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user