tags 635607 + pending thanks Dear maintainer,
I've prepared an NMU for ossp-uuid (versioned as 1.6.2-1.1) and uploaded it to DELAYED/10. Please feel free to tell me if I should delay it longer. Regards.
diff -Nru ossp-uuid-1.6.2/debian/changelog ossp-uuid-1.6.2/debian/changelog --- ossp-uuid-1.6.2/debian/changelog 2010-02-12 09:47:45.000000000 +0000 +++ ossp-uuid-1.6.2/debian/changelog 2011-07-26 12:09:53.000000000 +0100 @@ -1,3 +1,11 @@ +ossp-uuid (1.6.2-1.1) unstable; urgency=low + + * Non-maintainer upload. + * 0004-fix-data-uuid-from-string.patch: Support dash-less args to + from_string in uuid_compat.pm. (Closes: #635607) + + -- Tim Retout <dioc...@debian.org> Tue, 26 Jul 2011 12:09:04 +0100 + ossp-uuid (1.6.2-1) unstable; urgency=low * New upstream release. (Closes: #452780) diff -Nru ossp-uuid-1.6.2/debian/patches/0004-fix-data-uuid-from-string.patch ossp-uuid-1.6.2/debian/patches/0004-fix-data-uuid-from-string.patch --- ossp-uuid-1.6.2/debian/patches/0004-fix-data-uuid-from-string.patch 1970-01-01 01:00:00.000000000 +0100 +++ ossp-uuid-1.6.2/debian/patches/0004-fix-data-uuid-from-string.patch 2011-07-26 12:10:51.000000000 +0100 @@ -0,0 +1,36 @@ +Description: Support dash-less args to from_string. +Author: Tim Retout <dioc...@debian.org> +Bug-Debian: http://bugs.debian.org/635607 + +The module Data::GUID depends on Data::UUID supporting this behaviour. + +--- a/perl/uuid_compat.pm ++++ b/perl/uuid_compat.pm +@@ -93,7 +93,9 @@ + $uuid->import('str', + $str =~ /^0x/ + ? join '-', unpack('x2 a8 a4 a4 a4 a12', $str) +- : $str ++ : $str =~ /-/ ++ ? $str ++ : join '-', unpack('A8 A4 A4 A4 A12', $str) + ); + return $uuid->export('bin'); + } +--- a/perl/uuid_compat.ts ++++ b/perl/uuid_compat.ts +@@ -28,7 +28,7 @@ + ## uuid_compat.ts: Data::UUID Backward Compatibility Perl API (Perl test suite part) + ## + +-use Test::More tests => 14; ++use Test::More tests => 16; + + BEGIN { + use_ok('Data::UUID'); +@@ -53,3 +53,5 @@ + ok($uuid8 = $ug->from_string("6ba7b811-9dad-11d1-80b4-00c04fd430c8")); + ok($ug->compare($uuid7, $uuid8) == 0); + ++ok($uuid9 = $ug->from_string("6ba7b8119dad11d180b400c04fd430c8")); ++ok($ug->compare($uuid7, $uuid9) == 0); diff -Nru ossp-uuid-1.6.2/debian/patches/series ossp-uuid-1.6.2/debian/patches/series --- ossp-uuid-1.6.2/debian/patches/series 2010-02-12 09:47:45.000000000 +0000 +++ ossp-uuid-1.6.2/debian/patches/series 2011-07-26 12:01:56.000000000 +0100 @@ -1,3 +1,4 @@ 0001-Change-library-name.patch 0002-uuid-preserve-m-option-status-in-v-option-handling.patch 0003-Fix-whatis-entries.patch +0004-fix-data-uuid-from-string.patch