Changeset 642 in MondoRescue
- Timestamp:
- Jun 7, 2006, 10:50:06 PM (18 years ago)
- Location:
- branches/2.0.8/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0.8/tools/mkchangelog.pl
r638 r642 59 59 chomp($date); 60 60 $date =~ s/\(([0-9-]+)\)/$1/; 61 print "**$date**\n";61 #print "**$date**\n"; 62 62 $ndate = UnixDate($date,"%a", "%b", "%d", "%Y"); 63 print "**$ndate**\n";63 #print "**$ndate**\n"; 64 64 if ($dtype eq "rpm") { 65 65 printf OUTPUT "* $ndate Bruno Cornec <bruno\@mondorescue.org> $ver\n"; -
branches/2.0.8/tools/svn2build
r638 r642 74 74 m4 /tmp/mondorescue.mc $inc $dest/distributions/rpm/$p.spec > $dest/distributions/${ddir}-$dver/$p.spec 75 75 76 $TOOLHOME/mkchangelog.pl $dtype $p $dest/distributions/${ddir}-$dver/$p.spec76 $TOOLHOME/mkchangelog.pl $dtype $p /tmp/$p.spec 77 77 if [ $? -ne 0 ]; then 78 78 echo "Unable to create changelog for ${ddir}-$dver/$p.spec" 79 79 exit -1 80 80 fi 81 82 ddate=`LANG=C ; date "+%a %b %d %Y"` 83 cat > $dest/distributions/${ddir}-$dver/$p.changelog.new << EOF 84 * $ddate Bruno Cornec <bruno@mondorescue.org> VVV-RRR 85 - Updated to VVV-r${REVISION} 86 87 EOF 81 cat /tmp/$p.spec >> $dest/distributions/${ddir}-$dver/$p.spec 82 rm -f /tmp/$p.spec 88 83 elif [ "$dtype" = "ebuild" ]; then 89 84 m4 /tmp/mondorescue.mc $dest/distributions/$dfam/$p.ebuild > $dest/distributions/${ddir}-$dver/$p-$v-r$TAG.ebuild
Note:
See TracChangeset
for help on using the changeset viewer.