Changeset 778 for branches


Ignore:
Timestamp:
Aug 9, 2006, 1:48:49 AM (13 years ago)
Author:
bruno
Message:

Better changelog again

File:
1 edited

Legend:

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

    r777 r778  
    7575}
    7676
     77my $first=1;
     78
    7779# Handle each block separated by newline
    7880while (<INPUT>) {
     
    8789    if ($dtype eq "rpm") {
    8890        if ($ver !~ /-/) {
    89             $ver2 = "$ver-$ENV{TAG}"."$ENV{suf}";
     91            if ($first -eq 1) {
     92                $ver2 = "$ver-$ENV{TAG}"."$ENV{suf}";
     93            } else {
     94                $ver2 = "$ver-1"."$ENV{suf}";
     95            }
    9096        } else {
    9197            $ver2 = "$ver"."$ENV{suf}";
Note: See TracChangeset for help on using the changeset viewer.