Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37879856
en ru br
ALT Linux repos
S:1.31-alt1
5.0: 0.52-alt1
4.1: 0.52-alt1
4.0: 0.52-alt1
3.0: 0.50-alt1

Group :: Development/Perl
RPM: perl-Unicode-Collate

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: perl-Unicode-Collate-0.56-alt-deps.patch
Download


--- Unicode-Collate-0.56/Collate.pm-	2010-08-08 15:58:01.000000000 +0400
+++ Unicode-Collate-0.56/Collate.pm	2010-08-17 22:50:32.000000000 +0400
@@ -214,8 +214,7 @@ sub checkCollator {
     $self->{normCode} = undef;
 
     if (defined $self->{normalization}) {
-	eval { require Unicode::Normalize };
-	$@ and croak "Unicode::Normalize is required to normalize strings";
+	require Unicode::Normalize;
 
 	$CVgetCombinClass ||= \&Unicode::Normalize::getCombinClass;
 
--- Unicode-Collate-0.56/Collate.pmN-	2010-08-08 15:58:01.000000000 +0400
+++ Unicode-Collate-0.56/Collate.pmN	2010-08-17 22:50:58.000000000 +0400
@@ -251,8 +251,7 @@ sub checkCollator {
     $self->{normCode} = undef;
 
     if (defined $self->{normalization}) {
-	eval { require Unicode::Normalize };
-	$@ and croak "Unicode::Normalize is required to normalize strings";
+	require Unicode::Normalize;
 
 	$CVgetCombinClass ||= \&Unicode::Normalize::getCombinClass;
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin