Hello community,
here is the log from the commit of package perl-Unicode-String for
openSUSE:Factory checked in at 2016-09-30 15:31:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Unicode-String (Old)
and /work/SRC/openSUSE:Factory/.perl-Unicode-String.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Unicode-String"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Unicode-String/perl-Unicode-String.changes
2015-08-29 20:04:49.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Unicode-String.new/perl-Unicode-String.changes
2016-09-30 15:31:19.000000000 +0200
@@ -1,0 +2,7 @@
+Fri Sep 9 06:17:46 UTC 2016 - [email protected]
+
+- updated to 2.10
+ * Applied patch from Michael Joyce that is required to make the
+ test pass for perl-5.24 (perl522.patch)
+
+-------------------------------------------------------------------
Old:
----
Unicode-String-2.09.tar.gz
perl522.patch
New:
----
Unicode-String-2.10.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Unicode-String.spec ++++++
--- /var/tmp/diff_new_pack.LR081a/_old 2016-09-30 15:31:21.000000000 +0200
+++ /var/tmp/diff_new_pack.LR081a/_new 2016-09-30 15:31:21.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Unicode-String
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,52 +17,56 @@
Name: perl-Unicode-String
-Version: 2.09
+Version: 2.10
Release: 0
-Summary: String of Unicode characters (UCS2/UTF16)
-License: Artistic-1.0
+%define cpan_name Unicode-String
+Summary: String of Unicode characters (UTF-16BE)
+License: GPL-1.0+ or Artistic-1.0
Group: Development/Libraries/Perl
-Url: http://cpan.org/modules/by-module/Unicode/
-Source:
http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Unicode-String-%version.tar.gz
-Patch0: perl522.patch
+Url: http://search.cpan.org/dist/Unicode-String/
+Source0:
http://www.cpan.org/authors/id/G/GA/GAAS/GAAS/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
+%{perl_requires}
%description
-A Unicode::String object represents a sequence of Unicode characters.
-The Unicode Standard is a fixed-width, uniform encoding scheme for
-written characters and text. This encoding treats alphabetic
-characters, ideographic characters, and symbols identically, which
-means that they can be used in any mixture and with equal facility.
-Unicode is modeled on the ASCII character set, but uses a 16-bit
-encoding to support full multilingual text.
-
-
-
-Authors:
---------
- Gisle Aas <[email protected]>
+A 'Unicode::String' object represents a sequence of Unicode characters.
+Methods are provided to convert between various external formats
+(encodings) and 'Unicode::String' objects, and methods are provided for
+common string manipulations.
+
+The functions utf32be(), utf32le(), utf16be(), utf16le(), utf8(), utf7(),
+latin1(), uhex(), uchr() can be imported from the 'Unicode::String' module
+and will work as constructors initializing strings of the corresponding
+encoding.
+
+The 'Unicode::String' objects overload various operators, which means that
+they in most cases can be treated like plain strings.
+
+Internally a 'Unicode::String' object is represented by a string of 2 byte
+numbers in network byte order (big-endian). This representation is not
+visible by the API provided, but it might be useful to know in order to
+predict the efficiency of the provided methods.
%prep
-%setup -n Unicode-String-%{version}
-%patch0 -p2
+%setup -q -n %{cpan_name}-%{version}
%build
-perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
-make %{?_smp_mflags}
-make test
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+%{__make} %{?_smp_mflags}
+
+%check
+%{__make} test
%install
-make DESTDIR=$RPM_BUILD_ROOT install_vendor
+%perl_make_install
%perl_process_packlist
+%perl_gen_filelist
-%files
-%defattr(-,root,root)
-%doc README Changes
-%doc %{_mandir}/man?/*
-%{perl_vendorarch}/Unicode
-%{perl_vendorarch}/auto/Unicode
+%files -f %{name}.files
+%defattr(-,root,root,755)
+%doc Changes README
%changelog
++++++ Unicode-String-2.09.tar.gz -> Unicode-String-2.10.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Unicode-String-2.09/Changes
new/Unicode-String-2.10/Changes
--- old/Unicode-String-2.09/Changes 2005-10-26 10:14:49.000000000 +0200
+++ new/Unicode-String-2.10/Changes 2016-09-08 22:17:46.000000000 +0200
@@ -1,3 +1,11 @@
+2016-09-08 Gisle Aas <[email protected]>
+
+ Release 2.10
+
+ Applied patch from Michael Joyce that is required to make the
+ test pass for perl-5.24
+
+
2005-10-26 Gisle Aas <[email protected]>
Release 2.09
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Unicode-String-2.09/MANIFEST
new/Unicode-String-2.10/MANIFEST
--- old/Unicode-String-2.09/MANIFEST 2005-10-25 15:26:55.000000000 +0200
+++ new/Unicode-String-2.10/MANIFEST 2016-09-08 22:19:27.000000000 +0200
@@ -12,3 +12,4 @@
t/op.t
t/stringify.t
META.yml Module meta-data (added by MakeMaker)
+META.json Module JSON meta-data (added by
MakeMaker)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Unicode-String-2.09/META.json
new/Unicode-String-2.10/META.json
--- old/Unicode-String-2.09/META.json 1970-01-01 01:00:00.000000000 +0100
+++ new/Unicode-String-2.10/META.json 2016-09-08 22:19:27.000000000 +0200
@@ -0,0 +1,42 @@
+{
+ "abstract" : "unknown",
+ "author" : [
+ "unknown"
+ ],
+ "dynamic_config" : 1,
+ "generated_by" : "ExtUtils::MakeMaker version 7.1001, CPAN::Meta::Converter
version 2.150005",
+ "license" : [
+ "unknown"
+ ],
+ "meta-spec" : {
+ "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+ "version" : "2"
+ },
+ "name" : "Unicode-String",
+ "no_index" : {
+ "directory" : [
+ "t",
+ "inc"
+ ]
+ },
+ "prereqs" : {
+ "build" : {
+ "requires" : {
+ "ExtUtils::MakeMaker" : "0"
+ }
+ },
+ "configure" : {
+ "requires" : {
+ "ExtUtils::MakeMaker" : "0"
+ }
+ },
+ "runtime" : {
+ "requires" : {
+ "MIME::Base64" : "2"
+ }
+ }
+ },
+ "release_status" : "stable",
+ "version" : "2.10",
+ "x_serialization_backend" : "JSON::PP version 2.27300"
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Unicode-String-2.09/META.yml
new/Unicode-String-2.10/META.yml
--- old/Unicode-String-2.09/META.yml 2005-10-26 10:15:07.000000000 +0200
+++ new/Unicode-String-2.10/META.yml 2016-09-08 22:19:27.000000000 +0200
@@ -1,11 +1,23 @@
-# http://module-build.sourceforge.net/META-spec.html
-#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
-name: Unicode-String
-version: 2.09
-version_from: String.pm
-installdirs: site
+---
+abstract: unknown
+author:
+ - unknown
+build_requires:
+ ExtUtils::MakeMaker: '0'
+configure_requires:
+ ExtUtils::MakeMaker: '0'
+dynamic_config: 1
+generated_by: 'ExtUtils::MakeMaker version 7.1001, CPAN::Meta::Converter
version 2.150005'
+license: unknown
+meta-spec:
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: '1.4'
+name: Unicode-String
+no_index:
+ directory:
+ - t
+ - inc
requires:
- MIME::Base64: 2
-
-distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.17
+ MIME::Base64: '2'
+version: '2.10'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Unicode-String-2.09/String.pm
new/Unicode-String-2.10/String.pm
--- old/Unicode-String-2.09/String.pm 2005-10-26 10:13:10.000000000 +0200
+++ new/Unicode-String-2.10/String.pm 2016-09-08 22:16:18.000000000 +0200
@@ -21,7 +21,7 @@
byteswap2 byteswap4
);
-$VERSION = '2.09'; # $Id: String.pm,v 1.35 2005/10/26 08:13:10 gisle Exp $
+$VERSION = '2.10';
$UTF7_OPTIONAL_DIRECT_CHARS ||= 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Unicode-String-2.09/String.xs
new/Unicode-String-2.10/String.xs
--- old/Unicode-String-2.09/String.xs 2003-03-11 04:16:24.000000000 +0100
+++ new/Unicode-String-2.10/String.xs 2016-09-08 22:09:10.000000000 +0200
@@ -1,4 +1,4 @@
-/* $Id: String.xs,v 1.11 2003/03/11 03:16:24 gisle Exp $
+/* $Id$
*
* Copyright 1997-1999, Gisle Aas.
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Unicode-String-2.09/lib/Unicode/CharName.pm
new/Unicode-String-2.10/lib/Unicode/CharName.pm
--- old/Unicode-String-2.09/lib/Unicode/CharName.pm 2005-10-25
20:11:00.000000000 +0200
+++ new/Unicode-String-2.10/lib/Unicode/CharName.pm 2016-09-08
22:13:50.000000000 +0200
@@ -44,7 +44,7 @@
require Exporter;
@ISA=qw(Exporter);
@EXPORT_OK = qw(uname ublock);
-$VERSION = sprintf("%d.%02d", q$Revision: 1.7 $ =~ /(\d+)\.(\d+)/);
+$VERSION = sprintf("%d.%02d", q$Revision$ =~ /(\d+)\.(\d+)/);
use strict;
use vars qw(%JAMO_SHORT_NAME %NAMES @BLOCKS);
@@ -77,7 +77,7 @@
return join("", "HANGUL SYLLABLE ", @s)
}
}
- _init_names() unless defined %NAMES;
+ _init_names() unless %NAMES;
$NAMES{sprintf("%04X",$code)}
}
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#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_build: |-
# rm unused.files
#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