Changeset 597 for branches/2.0.8/tools/svn2build
 Timestamp:
 May 30, 2006, 10:51:12 PM (14 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

branches/2.0.8/tools/svn2build
r595 r597 62 62 EOF 63 63 64 mkdir p $dest/distributions/$ddir 64 mkdir p $dest/distributions/$ddir $dest/distributions/${ddir}$dver 65 65 if [ "$dtype" = "rpm" ]; then 66 66 if [ f $dest/distributions/$ddir/spec.m4 ]; then … … 73 73 fi 74 74 echo "Using $inc customization to build SPEC file" 75 m4 /tmp/mondorescue.mc $inc $dest/distributions/rpm/$p.spec > $dest/distributions/$ ddir/$p.spec75 m4 /tmp/mondorescue.mc $inc $dest/distributions/rpm/$p.spec > $dest/distributions/${ddir}$dver/$p.spec 76 76 77 77 if [ f $dest/distributions/$ddir/changelog ]; then … … 86 86 echo "Using $log customization to build changelog file" 87 87 ddate=`LANG=C ; date "+%a %b %d %Y"` 88 cat > $dest/distributions/$ ddir/$p.changelog.new << EOF88 cat > $dest/distributions/${ddir}$dver/$p.changelog.new << EOF 89 89 * $ddate Bruno Cornec <bruno@mondorescue.org> VVVRRR 90 90  Updated to VVVr${REVISION} 91 91 92 92 EOF 93 cat $log >> $dest/distributions/$ ddir/$p.changelog.new94 m4 /tmp/mondorescue.mc $dest/distributions/$ ddir/$p.changelog.new >> $dest/distributions/$ddir/$p.spec95 rm f $dest/distributions/$ ddir/$p.changelog.new93 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 96 96 97 97 elif [ "$dtype" = "ebuild" ]; then 98 m4 /tmp/mondorescue.mc $dest/distributions/$dfam/$p.ebuild > $dest/distributions/$ ddir/$p$vr$TAG.ebuild98 m4 /tmp/mondorescue.mc $dest/distributions/$dfam/$p.ebuild > $dest/distributions/${ddir}$dver/$p$vr$TAG.ebuild 99 99 elif [ "$dtype" = "deb" ]; then 100 100 # To be developped
Note: See TracChangeset
for help on using the changeset viewer.