Hello community,
here is the log from the commit of package perl-Encode-Locale for openSUSE:Factory checked in at 2015-06-15 17:47:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Encode-Locale (Old)
and /work/SRC/openSUSE:Factory/.perl-Encode-Locale.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Encode-Locale"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Encode-Locale/perl-Encode-Locale.changes 2015-04-22 01:07:15.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Encode-Locale.new/perl-Encode-Locale.changes 2015-06-15 17:47:16.000000000 +0200
@@ -1,0 +2,14 @@
+Sun Jun 14 08:07:47 UTC 2015 - coolo@suse.com
+
+- updated to 1.05
+ see /usr/share/doc/packages/perl-Encode-Locale/Changes
+
+ ## 2015-06-09 Release 1.05
+
+ Mats Peterson (1):
+ Use GetACP() to get the ANSI code page like before
+
+ Thomas Sibley (1):
+ Conditionalize the Win32::Console recommendation
+
+-------------------------------------------------------------------
Old:
----
Encode-Locale-1.04.tar.gz
New:
----
Encode-Locale-1.05.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Encode-Locale.spec ++++++
--- /var/tmp/diff_new_pack.91espv/_old 2015-06-15 17:47:17.000000000 +0200
+++ /var/tmp/diff_new_pack.91espv/_new 2015-06-15 17:47:17.000000000 +0200
@@ -17,19 +17,19 @@
Name: perl-Encode-Locale
-Version: 1.04
+Version: 1.05
Release: 0
%define cpan_name Encode-Locale
Summary: Determine the locale encoding
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Encode-Locale/
-Source: http://www.cpan.org/authors/id/G/GA/GAAS/%{cpan_name}-%{version}.tar.gz
+Source0: http://www.cpan.org/authors/id/G/GA/GAAS/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-Recommends: perl(Win32::Console)
%{perl_requires}
%description
++++++ Encode-Locale-1.04.tar.gz -> Encode-Locale-1.05.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Encode-Locale-1.04/Changes new/Encode-Locale-1.05/Changes
--- old/Encode-Locale-1.04/Changes 2015-01-12 22:45:41.000000000 +0100
+++ new/Encode-Locale-1.05/Changes 2015-06-09 22:05:11.000000000 +0200
@@ -1,3 +1,13 @@
+## 2015-06-09 Release 1.05
+
+Mats Peterson (1):
+ Use GetACP() to get the ANSI code page like before
+
+Thomas Sibley (1):
+ Conditionalize the Win32::Console recommendation
+
+
+
## 2015-01-12 Release 1.04
Ed J (5):
@@ -18,6 +28,7 @@
* typo fix
+
## 2012-01-11 Release 1.03
Documentation spelling fixes and tweaks to improve testing on Windows.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Encode-Locale-1.04/META.json new/Encode-Locale-1.05/META.json
--- old/Encode-Locale-1.04/META.json 2015-01-12 22:48:39.000000000 +0100
+++ new/Encode-Locale-1.05/META.json 2015-06-09 22:08:11.000000000 +0200
@@ -4,7 +4,7 @@
"Gisle Aas "
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.133380",
+ "generated_by" : "ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter version 2.150001",
"license" : [
"perl_5"
],
@@ -33,8 +33,7 @@
},
"runtime" : {
"recommends" : {
- "I18N::Langinfo" : "0",
- "Win32::Console" : "0"
+ "I18N::Langinfo" : "0"
},
"requires" : {
"Encode" : "2",
@@ -49,5 +48,5 @@
"url" : "http://github.com/gisle/encode-locale"
}
},
- "version" : "1.04"
+ "version" : "1.05"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Encode-Locale-1.04/META.yml new/Encode-Locale-1.05/META.yml
--- old/Encode-Locale-1.04/META.yml 2015-01-12 22:48:39.000000000 +0100
+++ new/Encode-Locale-1.05/META.yml 2015-06-09 22:08:11.000000000 +0200
@@ -3,28 +3,27 @@
author:
- 'Gisle Aas '
build_requires:
- ExtUtils::MakeMaker: 0
- Test::More: 0
+ ExtUtils::MakeMaker: '0'
+ Test::More: '0'
configure_requires:
- ExtUtils::MakeMaker: 0
+ ExtUtils::MakeMaker: '0'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.133380'
+generated_by: 'ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter version 2.150001'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: Encode-Locale
no_index:
directory:
- t
- inc
recommends:
- I18N::Langinfo: 0
- Win32::Console: 0
+ I18N::Langinfo: '0'
requires:
- Encode: 2
- Encode::Alias: 0
- perl: 5.008
+ Encode: '2'
+ Encode::Alias: '0'
+ perl: '5.008'
resources:
repository: http://github.com/gisle/encode-locale
-version: 1.04
+version: '1.05'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Encode-Locale-1.04/Makefile.PL new/Encode-Locale-1.05/Makefile.PL
--- old/Encode-Locale-1.04/Makefile.PL 2015-01-12 22:35:04.000000000 +0100
+++ new/Encode-Locale-1.05/Makefile.PL 2015-06-09 21:57:04.000000000 +0200
@@ -18,7 +18,9 @@
},
recommends => {
'I18N::Langinfo' => 0,
- 'Win32::Console' => 0,
+ ($^O eq 'MSWin32'
+ ? ('Win32::Console' => 0)
+ : ()),
},
},
TEST_REQUIRES => {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Encode-Locale-1.04/lib/Encode/Locale.pm new/Encode-Locale-1.05/lib/Encode/Locale.pm
--- old/Encode-Locale-1.04/lib/Encode/Locale.pm 2015-01-12 22:46:01.000000000 +0100
+++ new/Encode-Locale-1.05/lib/Encode/Locale.pm 2015-06-09 22:05:32.000000000 +0200
@@ -1,7 +1,7 @@
package Encode::Locale;
use strict;
-our $VERSION = "1.04";
+our $VERSION = "1.05";
use base 'Exporter';
our @EXPORT_OK = qw(
@@ -25,20 +25,17 @@
unless ($ENCODING_LOCALE) {
# Try to obtain what the Windows ANSI code page is
eval {
- unless (defined &GetConsoleCP) {
+ unless (defined &GetACP) {
require Win32;
- # no point falling back to Win32::GetConsoleCP from this
- # as added same time, 0.45
- eval { Win32::GetConsoleCP() };
- # manually "import" it since Win32->import refuses
- *GetConsoleCP = sub { &Win32::GetConsoleCP } unless $@;
+ eval { Win32::GetACP() };
+ *GetACP = sub { &Win32::GetACP } unless $@;
}
- unless (defined &GetConsoleCP) {
+ unless (defined &GetACP) {
require Win32::API;
- Win32::API->Import('kernel32', 'int GetConsoleCP()');
+ Win32::API->Import('kernel32', 'int GetACP()');
}
- if (defined &GetConsoleCP) {
- my $cp = GetConsoleCP();
+ if (defined &GetACP) {
+ my $cp = GetACP();
$ENCODING_LOCALE = "cp$cp" if $cp;
}
};
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module