contrib/dockerrpm
changeset 27788 d713fa934fb9
parent 27641 1292700d31b5
child 33597 a3ac1ea611ce
equal deleted inserted replaced
27787:e6e34c4e3916 27788:d713fa934fb9
    12 
    12 
    13 initcontainer $PLATFORM
    13 initcontainer $PLATFORM
    14 
    14 
    15 RPMBUILDDIR=$ROOTDIR/packages/$PLATFORM
    15 RPMBUILDDIR=$ROOTDIR/packages/$PLATFORM
    16 contrib/buildrpm --rpmbuilddir $RPMBUILDDIR --prepare $*
    16 contrib/buildrpm --rpmbuilddir $RPMBUILDDIR --prepare $*
    17 
       
    18 mkdir -p $RPMBUILDDIR/{BUILD,SRPMS,RPMS}
       
    19 
    17 
    20 DSHARED=/mnt/shared
    18 DSHARED=/mnt/shared
    21 $DOCKER run -u $DBUILDUSER --rm -v $RPMBUILDDIR:$DSHARED $CONTAINER \
    19 $DOCKER run -u $DBUILDUSER --rm -v $RPMBUILDDIR:$DSHARED $CONTAINER \
    22     rpmbuild --define "_topdir $DSHARED" -ba $DSHARED/SPECS/mercurial.spec --clean
    20     rpmbuild --define "_topdir $DSHARED" -ba $DSHARED/SPECS/mercurial.spec --clean
    23 
    21