Commit b30a824e authored by Vitaly Lipatov's avatar Vitaly Lipatov

small rewrote package packing

parent ee45ae8a
......@@ -255,13 +255,15 @@ fi
unset MENV MENVARG
mkdir -p $RPMDIR/SPECS/$MDISTR
# TODO: use temp dir (_topdir, _specdir, _sourcedir)
TMPBPDIR=$RPMDIR/BP
# --define "_srcrpmdir ."
export SPECSDIR=$TMPBPDIR/SPECS/$MDISTR
mkdir -p $SPECSDIR
for i in $LISTNAMES ; do
DEST=`basename $i`
cp $i $RPMDIR/SPECS/$MDISTR/$DEST || fatal "Can't copy spec"
cd $RPMDIR/SPECS/$MDISTR || fatal "Error"
alt_tolocal $DEST
cd -
cp $i $SPECSDIR/$DEST || fatal "Can't copy spec"
alt_tolocal $SPECSDIR/$DEST
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment