diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2004-07-15 01:52:01 +0000 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2004-07-15 01:52:01 +0000 |
commit | 9236bfd350982e7dcbb419ac74ad2b336a41b3f2 (patch) | |
tree | 5ff3b0d56b0daa84a07c033494d94bd081751b9f /changes2changelog | |
parent | 588f00357effa26b731e90dd129954da4b877901 (diff) | |
download | quilt-9236bfd350982e7dcbb419ac74ad2b336a41b3f2.tar.gz |
- Add test case for permissions.v0.35
- Very minor translation updates.
- Convert timestamps in changes file into UTC when generating
the RPM changelog: the changelog does not understand
timestamps.
- Bump version to 0.35.
Diffstat (limited to 'changes2changelog')
-rwxr-xr-x | changes2changelog | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/changes2changelog b/changes2changelog new file mode 100755 index 0000000..07c7afa --- /dev/null +++ b/changes2changelog @@ -0,0 +1,21 @@ +#! /usr/bin/perl + +while (<>) { + if (/^(|-+)$/) { + next; + } elsif (/^(\S.*) - (.*@.*)$/) { + # print "[" . $1 . "]\n"; + open FH, 'date -u +"* %a %b %d %Y" -d "' . $1 . '" |'; + while (<FH>) { + chomp; + print $_ . " - " . $2 . "\n"; + } + close FH; + next; + } elsif (/(- | +)(?!\s)/) { + print; + } else { + print STDERR "Syntax error in line $. of changelog:\n$_\n"; + exit 1; + } +} |