Changeset 596 for branches/stable/tools/svn2build
 Timestamp:
 May 30, 2006, 10:50:31 PM (14 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

branches/stable/tools/svn2build
r594 r596 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.