Ignore:
Timestamp:
May 30, 2006, 10:51:12 PM (13 years ago)
Author:
bcornec
Message:

Build process fixes following first attempt to deliver 2.0.8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0.8/tools/svn2build

    r595 r597  
    6262EOF
    6363
    64         mkdir -p $dest/distributions/$ddir
     64        mkdir -p $dest/distributions/$ddir $dest/distributions/${ddir}-$dver
    6565        if [ "$dtype" = "rpm" ]; then
    6666            if [ -f $dest/distributions/$ddir/spec.m4 ]; then
     
    7373            fi
    7474            echo "Using $inc customization to build SPEC file"
    75             m4 /tmp/mondorescue.mc $inc $dest/distributions/rpm/$p.spec > $dest/distributions/$ddir/$p.spec
     75            m4 /tmp/mondorescue.mc $inc $dest/distributions/rpm/$p.spec > $dest/distributions/${ddir}-$dver/$p.spec
    7676
    7777            if [ -f $dest/distributions/$ddir/changelog ]; then
     
    8686            echo "Using $log customization to build changelog file"
    8787            ddate=`LANG=C ; date "+%a %b %d %Y"`
    88             cat > $dest/distributions/$ddir/$p.changelog.new << EOF
     88            cat > $dest/distributions/${ddir}-$dver/$p.changelog.new << EOF
    8989* $ddate Bruno Cornec <bruno@mondorescue.org> VVV-RRR
    9090- Updated to VVV-r${REVISION}
    9191
    9292EOF
    93             cat $log >> $dest/distributions/$ddir/$p.changelog.new
    94             m4 /tmp/mondorescue.mc $dest/distributions/$ddir/$p.changelog.new >> $dest/distributions/$ddir/$p.spec
    95             rm -f $dest/distributions/$ddir/$p.changelog.new
     93            cat $log >> $dest/distributions/${ddir}-$dver/$p.changelog.new
     94            m4 /tmp/mondorescue.mc $dest/distributions/${ddir}-$dver/$p.changelog.new >> $dest/distributions/${ddir}-${dver}/$p.spec
     95            rm -f $dest/distributions/${ddir}-$dver/$p.changelog.new
    9696
    9797        elif [ "$dtype" = "ebuild" ]; then
    98             m4 /tmp/mondorescue.mc $dest/distributions/$dfam/$p.ebuild > $dest/distributions/$ddir/$p-$v-r$TAG.ebuild
     98            m4 /tmp/mondorescue.mc $dest/distributions/$dfam/$p.ebuild > $dest/distributions/${ddir}-$dver/$p-$v-r$TAG.ebuild
    9999        elif [ "$dtype" = "deb" ]; then
    100100            # To be developped
Note: See TracChangeset for help on using the changeset viewer.