Hello community,
here is the log from the commit of package perl-Encode-Locale for openSUSE:Factory
checked in at Thu Mar 31 14:20:53 CEST 2011.
--------
--- perl-Encode-Locale/perl-Encode-Locale.changes 2011-03-16 23:48:17.000000000 +0100
+++ /mounts/work_src_done/STABLE/perl-Encode-Locale/perl-Encode-Locale.changes 2011-03-31 11:36:51.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Mar 31 09:36:31 UTC 2011 - coolo@novell.com
+
+- update to 1.02
+ Added supporting hacks for GB18030 and roman8. [RT#66373] [RT#67010]
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
Encode-Locale-1.01.tar.gz
New:
----
Encode-Locale-1.02.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Encode-Locale.spec ++++++
--- /var/tmp/diff_new_pack.cZ6j8p/_old 2011-03-31 14:19:55.000000000 +0200
+++ /var/tmp/diff_new_pack.cZ6j8p/_new 2011-03-31 14:19:55.000000000 +0200
@@ -18,24 +18,20 @@
Name: perl-Encode-Locale
-%define cpan_name Encode-Locale
-Summary: Determine the locale encoding
-Version: 1.01
+Version: 1.02
Release: 1
License: GPL+ or Artistic
-Group: Development/Libraries/Perl
+%define cpan_name Encode-Locale
+Summary: Determine the locale encoding
Url: http://search.cpan.org/dist/Encode-Locale/
-Source: http://www.cpan.org/authors/id/G/GA/GAAS/Encode-Locale-%{version}.tar.gz
+Group: Development/Libraries/Perl
+#Source: http://www.cpan.org/authors/id/G/GA/GAAS/Encode-Locale-%{version}.tar.gz
+Source: %{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(Encode) >= 2
-BuildRequires: perl(Encode::Alias)
-Requires: perl(Encode) >= 2
-Requires: perl(Encode::Alias)
%{perl_requires}
-Recommends: perl(I18N::Langinfo)
%description
In many applications it's wise to let Perl use Unicode for the strings it
@@ -70,6 +66,75 @@
for input known to come from the terminal and "console_out" for output
known to go from the terminal.
+In addition to arranging for various Encode aliases the following functions
+and variables are provided:
+
+* decode_argv( )
+
+* decode_argv( Encode::FB_CROAK )
+
+ This will decode the command line arguments to perl (the '@ARGV' array)
+ in-place.
+
+ The function will by default replace characters that can't be decoded by
+ "\x{FFFD}", the Unicode replacement character.
+
+ Any argument provided is passed as CHECK to underlying Encode::decode()
+ call. Pass the value 'Encode::FB_CROAK' to have the decoding croak if not
+ all the command line arguments can be decoded. See the Encode/"Handling
+ Malformed Data" manpage for details on other options for CHECK.
+
+* env( $uni_key )
+
+* env( $uni_key => $uni_value )
+
+ Interface to get/set environment variables. Returns the current value as
+ a Unicode string. The $uni_key and $uni_value arguments are expected to
+ be Unicode strings as well. Passing 'undef' as $uni_value deletes the
+ environment variable named $uni_key.
+
+ The returned value will have the characters that can't be decoded
+ replaced by "\x{FFFD}", the Unicode replacement character.
+
+ There is no interface to request alternative CHECK behavior as for
+ decode_argv(). If you need that you need to call encode/decode yourself.
+ For example:
+
+ my $key = Encode::encode(locale => $uni_key, Encode::FB_CROAK);
+ my $uni_value = Encode::decode(locale => $ENV{$key}, Encode::FB_CROAK);
+
+* reinit( )
+
+* reinit( $encoding )
+
+ Reinitialize the encodings from the locale. You want to call this
+ function if you changed anything in the environment that might influence
+ the locale.
+
+ This function will croak if the determined encoding isn't recognized by
+ the Encode module.
+
+ With argument force $ENCODING_... variables to set to the given value.
+
+* $ENCODING_LOCALE
+
+ The encoding name determined to be suitable for the current locale. the
+ Encode manpage know this encoding as "locale".
+
+* $ENCODING_LOCALE_FS
+
+ The encoding name determined to be suiteable for file system interfaces
+ involving file names. the Encode manpage know this encoding as
+ "locale_fs".
+
+* $ENCODING_CONSOLE_IN
+
+* $ENCODING_CONSOLE_OUT
+
+ The encodings to be used for reading and writing output to the a console.
+ the Encode manpage know these encodings as "console_in" and
+ "console_out".
+
%prep
%setup -q -n %{cpan_name}-%{version}
++++++ Encode-Locale-1.01.tar.gz -> Encode-Locale-1.02.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Encode-Locale-1.01/Changes new/Encode-Locale-1.02/Changes
--- old/Encode-Locale-1.01/Changes 2011-02-22 19:58:19.000000000 +0100
+++ new/Encode-Locale-1.02/Changes 2011-03-28 09:44:40.000000000 +0200
@@ -1,3 +1,8 @@
+## 2011-03-28 Release 1.02
+
+Added supporting hacks for GB18030 and roman8. [RT#66373] [RT#67010]
+
+
## 2011-02-22 Release 1.01
Avoid compilation warnings (RT#65975). Thanks to Goro Fuji.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Encode-Locale-1.01/META.yml new/Encode-Locale-1.02/META.yml
--- old/Encode-Locale-1.01/META.yml 2011-02-22 19:58:48.000000000 +0100
+++ new/Encode-Locale-1.02/META.yml 2011-03-28 09:45:34.000000000 +0200
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: Encode-Locale
-version: 1.01
+version: 1.02
abstract: Determine the locale encoding
author:
- Gisle Aas