diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-06-23 13:54:13 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-06-23 13:54:13 +0000 |
commit | 6757fc3c4d1594c60b067834a2fbe0a4df31e967 (patch) | |
tree | df11fdbe47c874177595484eaf9e171172798d31 /lib/Youri/Package/RPM4.pm | |
parent | a09597c65cda94b4eb606064e686d82fbc1cf069 (diff) | |
download | mga-youri-core-6757fc3c4d1594c60b067834a2fbe0a4df31e967.tar mga-youri-core-6757fc3c4d1594c60b067834a2fbe0a4df31e967.tar.gz mga-youri-core-6757fc3c4d1594c60b067834a2fbe0a4df31e967.tar.bz2 mga-youri-core-6757fc3c4d1594c60b067834a2fbe0a4df31e967.tar.xz mga-youri-core-6757fc3c4d1594c60b067834a2fbe0a4df31e967.zip |
keep raw changelogs to avoid changing the format (backport)
Diffstat (limited to 'lib/Youri/Package/RPM4.pm')
-rw-r--r-- | lib/Youri/Package/RPM4.pm | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/Youri/Package/RPM4.pm b/lib/Youri/Package/RPM4.pm index 306c32f..b1ed5d8 100644 --- a/lib/Youri/Package/RPM4.pm +++ b/lib/Youri/Package/RPM4.pm @@ -339,10 +339,7 @@ sub get_changes { $changes[$i] = [ $names[$i], $time[$i], - [ - map { s/^.\s+//; $_ } - split(/\n/, $text[$i]) - ] + $text[$i], ]; } @@ -355,10 +352,7 @@ sub get_last_change { return [ ($self->{_header}->tag('changelogname'))[0], ($self->{_header}->tag('changelogtime'))[0], - [ - map { s/^.\s+//; $_ } - split(/\n/, ($self->{_header}->tag('changelogtext'))[0]) - ] + ($self->{_header}->tag('changelogtext'))[0], ]; } |