11
0

Accepting request 479092 from devel:languages:perl

- updated to 0.006
   see /usr/share/doc/packages/perl-PerlIO-utf8_strict/Changes
  0.006     2015-05-01 11:36:21+02:00 Europe/Amsterdam
            Move to MakeMaker

OBS-URL: https://build.opensuse.org/request/show/479092
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PerlIO-utf8_strict?expand=0&rev=4
This commit is contained in:
2017-03-14 09:06:21 +00:00
committed by Git OBS Bridge
5 changed files with 27 additions and 17 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8956064ac2bf1f79bac868a9db93a44aade77df4d3e8b07ce31a40f987ef2e0e
size 66025

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:980010e624c43be0a2aac8e1fe5db3fe43035940def75ca70401bb1ca98bd562
size 66240

View File

@@ -1,8 +1,8 @@
Index: PerlIO-utf8_strict-0.004/lib/PerlIO/utf8_strict.xs
Index: PerlIO-utf8_strict-0.006/utf8_strict.xs
===================================================================
--- PerlIO-utf8_strict-0.004.orig/lib/PerlIO/utf8_strict.xs
+++ PerlIO-utf8_strict-0.004/lib/PerlIO/utf8_strict.xs
@@ -152,6 +152,7 @@ static STRLEN validate(pTHX_ const U8 *b
--- PerlIO-utf8_strict-0.006.orig/utf8_strict.xs
+++ PerlIO-utf8_strict-0.006/utf8_strict.xs
@@ -153,6 +153,7 @@ static STRLEN validate(pTHX_ const U8 *b
skip = skip_sequence(cur, end - cur);
PerlIOBase(handle)->flags |= PERLIO_F_ERROR;
report_illformed(aTHX_ cur, skip, eof);
@@ -10,7 +10,7 @@ Index: PerlIO-utf8_strict-0.004/lib/PerlIO/utf8_strict.xs
noncharacter:
if (v < 0xF0808080)
@@ -160,6 +161,7 @@ static STRLEN validate(pTHX_ const U8 *b
@@ -161,6 +162,7 @@ static STRLEN validate(pTHX_ const U8 *b
v = (v & 0x3F) | (v & 0x3F00) >> 2 | (v & 0x3F0000) >> 4 | (v & 0x07000000) >> 6;
PerlIOBase(handle)->flags |= PERLIO_F_ERROR;
report_noncharacter(aTHX_ v);

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Mar 13 15:40:43 UTC 2017 - coolo@suse.com
- updated to 0.006
see /usr/share/doc/packages/perl-PerlIO-utf8_strict/Changes
0.006 2015-05-01 11:36:21+02:00 Europe/Amsterdam
Move to MakeMaker
-------------------------------------------------------------------
Tue Apr 14 20:51:49 UTC 2015 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-PerlIO-utf8_strict
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 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,20 +17,19 @@
Name: perl-PerlIO-utf8_strict
Version: 0.005
Version: 0.006
Release: 0
%define cpan_name PerlIO-utf8_strict
Summary: Fast and correct UTF-8 IO
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/PerlIO-utf8_strict/
Source0: http://www.cpan.org/authors/id/L/LE/LEONT/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/L/LE/LEONT/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
Patch0: no-return-in-nonvoid-function.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Module::Build) >= 0.280000
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More) >= 0.88
%{perl_requires}
@@ -44,18 +43,20 @@ default ':utf8' layer it checks the input for correctness.
%patch0 -p1
%build
%{__perl} Build.PL installdirs=vendor optimize="%{optflags}"
./Build build flags=%{?_smp_mflags}
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}
%check
./Build test
%{__make} test
%install
./Build install destdir=%{buildroot} create_packlist=0
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes corpus LICENSE README
%doc Changes README
%license LICENSE
%changelog