Changeset 642 for branches


Ignore:
Timestamp:
Jun 7, 2006, 10:50:06 PM (13 years ago)
Author:
bcornec
Message:

Changelog generation bug fix

Location:
branches/2.0.8/tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0.8/tools/mkchangelog.pl

    r638 r642  
    5959    chomp($date);
    6060    $date =~ s/\(([0-9-]+)\)/$1/;
    61     print "**$date**\n";
     61    #print "**$date**\n";
    6262    $ndate = UnixDate($date,"%a", "%b", "%d", "%Y");
    63     print "**$ndate**\n";
     63    #print "**$ndate**\n";
    6464    if ($dtype eq "rpm") {
    6565        printf OUTPUT "* $ndate Bruno Cornec <bruno\@mondorescue.org> $ver\n";
  • branches/2.0.8/tools/svn2build

    r638 r642  
    7474            m4 /tmp/mondorescue.mc $inc $dest/distributions/rpm/$p.spec > $dest/distributions/${ddir}-$dver/$p.spec
    7575
    76             $TOOLHOME/mkchangelog.pl $dtype $p $dest/distributions/${ddir}-$dver/$p.spec
     76            $TOOLHOME/mkchangelog.pl $dtype $p /tmp/$p.spec
    7777            if [ $? -ne 0 ]; then
    7878                echo "Unable to create changelog for ${ddir}-$dver/$p.spec"
    7979                exit -1
    8080            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
    8883        elif [ "$dtype" = "ebuild" ]; then
    8984            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.