Sync from SUSE:SLFO:Main perl-PerlIO-utf8_strict revision 5e10165ee0f057bcaa4aee9595e9c13d
This commit is contained in:
commit
133dc1f7ec
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
PerlIO-utf8_strict-0.010.tar.gz
(Stored with Git LFS)
Normal file
BIN
PerlIO-utf8_strict-0.010.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
19
cpanspec.yml
Normal file
19
cpanspec.yml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
---
|
||||||
|
#description_paragraphs: 3
|
||||||
|
#no_testing: broken upstream
|
||||||
|
#sources:
|
||||||
|
# - source1
|
||||||
|
# - source2
|
||||||
|
patches:
|
||||||
|
no-return-in-nonvoid-function.patch: -p1
|
||||||
|
#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
|
20
no-return-in-nonvoid-function.patch
Normal file
20
no-return-in-nonvoid-function.patch
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
Index: PerlIO-utf8_strict-0.006/utf8_strict.xs
|
||||||
|
===================================================================
|
||||||
|
--- 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);
|
||||||
|
+ return 0;
|
||||||
|
|
||||||
|
noncharacter:
|
||||||
|
if (v < 0xF0808080)
|
||||||
|
@@ -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);
|
||||||
|
+ return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
typedef struct {
|
66
perl-PerlIO-utf8_strict.changes
Normal file
66
perl-PerlIO-utf8_strict.changes
Normal file
|
@ -0,0 +1,66 @@
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 27 03:09:05 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 0.010
|
||||||
|
see /usr/share/doc/packages/perl-PerlIO-utf8_strict/Changes
|
||||||
|
|
||||||
|
0.010 2022-10-26 18:57:45+02:00 Europe/Amsterdam
|
||||||
|
- Re-release with updated pport.h for 5.8.5 compatibility
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 9 03:08:25 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 0.009
|
||||||
|
see /usr/share/doc/packages/perl-PerlIO-utf8_strict/Changes
|
||||||
|
|
||||||
|
0.009 2022-01-08 17:26:23+01:00 Europe/Amsterdam
|
||||||
|
- Mark functions that croak as noreturn
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 19 03:10:56 UTC 2020 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 0.008
|
||||||
|
see /usr/share/doc/packages/perl-PerlIO-utf8_strict/Changes
|
||||||
|
|
||||||
|
0.008 2020-09-19 00:11:59+02:00 Europe/Amsterdam
|
||||||
|
- Make unread by :crlf on top of :utf8_strict reliable
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 7 06:34:23 UTC 2017 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 0.007
|
||||||
|
see /usr/share/doc/packages/perl-PerlIO-utf8_strict/Changes
|
||||||
|
|
||||||
|
0.007 2017-04-06 14:58:37+02:00 Europe/Amsterdam
|
||||||
|
- Adapt to dot no longer being in @INC
|
||||||
|
- Adapt to unicode syswrite being deprecated
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
||||||
|
|
||||||
|
- updated to 0.005
|
||||||
|
see /usr/share/doc/packages/perl-PerlIO-utf8_strict/Changes
|
||||||
|
|
||||||
|
0.005 2014-11-06 00:56:54+01:00 Europe/Amsterdam
|
||||||
|
Add PPPort to compile on perl <5.8.9
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 10 18:55:10 UTC 2014 - coolo@suse.com
|
||||||
|
|
||||||
|
- add no-return-in-nonvoid-function.patch to fix build checks
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 10 06:40:03 UTC 2014 - coolo@suse.com
|
||||||
|
|
||||||
|
- initial package 0.004
|
||||||
|
* created by cpanspec 1.78.07
|
||||||
|
|
58
perl-PerlIO-utf8_strict.spec
Normal file
58
perl-PerlIO-utf8_strict.spec
Normal file
|
@ -0,0 +1,58 @@
|
||||||
|
#
|
||||||
|
# spec file for package perl-PerlIO-utf8_strict
|
||||||
|
#
|
||||||
|
# Copyright (c) 2022 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define cpan_name PerlIO-utf8_strict
|
||||||
|
Name: perl-PerlIO-utf8_strict
|
||||||
|
Version: 0.010
|
||||||
|
Release: 0
|
||||||
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
|
Summary: Fast and correct UTF-8 IO
|
||||||
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
|
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
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: perl(Test::Exception)
|
||||||
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
|
%description
|
||||||
|
This module provides a fast and correct UTF-8 PerlIO layer. Unlike perl's
|
||||||
|
default ':utf8' layer it checks the input for correctness.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{cpan_name}-%{version} -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
%install
|
||||||
|
%perl_make_install
|
||||||
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
|
%files -f %{name}.files
|
||||||
|
%doc Changes README
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user