Changeset 672 in MondoRescue for trunk/tools/mkchangelog.pl


Ignore:
Timestamp:
Jun 12, 2006, 9:55:14 AM (18 years ago)
Author:
bcornec
Message:

merge -r651:671 $SVN_M/branches/stable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/mkchangelog.pl

    r652 r672  
    2020my $chglog = "";
    2121my $ndate = "";
     22my $n2date = "";
    2223my $tmp = "";
    2324my $ver = "";
     
    7980    #print "**$date**\n";
    8081    $ndate = UnixDate($date,"%a", "%b", "%d", "%Y");
     82    $n2date = &UnixDate($date,"%a, %d %b %Y %H:%M:%S %z");
    8183    #print "**$ndate**\n";
    8284    if ($dtype eq "rpm") {
     
    8486        print OUTPUT "- Updated to $ver\n";
    8587        }
     88    if ($dtype eq "deb") {
     89        print OUTPUT "$pkg ($ver) unstable; urgency=low\n";
     90        print OUTPUT "\n";
     91        }
    8692
    8793    $tmp = <INPUT>;
    8894    while ($tmp !~ /^$/) {
    89         print OUTPUT $tmp;
     95        if ($dtype eq "deb") {
     96            print OUTPUT "  * $tmp";
     97        }
     98        else {
     99            print OUTPUT "$tmp";
     100        }
    90101        last if (eof(INPUT));
    91102        $tmp = <INPUT>;
    92103    }
    93104    print OUTPUT "\n";
     105
     106    if ($dtype eq "deb") {
     107        print OUTPUT " -- Bruno Cornec <bruno\@mondorescue.org>  $n2date\n\n";
     108        print OUTPUT "\n";
     109        }
     110
    94111    last if (eof(INPUT));
    95112    last if ($dtype eq "announce");
Note: See TracChangeset for help on using the changeset viewer.