diff --git a/Unicode-Collate-1.29.tar.gz b/Unicode-Collate-1.29.tar.gz deleted file mode 100644 index b685952..0000000 --- a/Unicode-Collate-1.29.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f4c8ef4ab1af77c2dfa8eca097a5c968a8652d68889faf09fc4cafe740982437 -size 926045 diff --git a/Unicode-Collate-1.31.tar.gz b/Unicode-Collate-1.31.tar.gz new file mode 100644 index 0000000..3b94e46 --- /dev/null +++ b/Unicode-Collate-1.31.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b75dd07bbc252937b1b87064bf79ccd0a1b7ee993b8cf0e80f47406c3205639f +size 926842 diff --git a/cpanspec.yml b/cpanspec.yml index dbb84fe..f2929b1 100644 --- a/cpanspec.yml +++ b/cpanspec.yml @@ -6,8 +6,11 @@ # - source2 #patches: # no-dot-inc.patch: -p1 -#preamble: |- -# BuildRequires: gcc-c++ +preamble: |- + # special case as perl itself provides Unicode-Collate as well, however + # in an older version. we need to rebuild on version updates + # to ensure we are always newer than the perl-core provided version (bsc#1185600) + %requires_eq perl #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 diff --git a/perl-Unicode-Collate.changes b/perl-Unicode-Collate.changes index e4aa16b..28a240c 100644 --- a/perl-Unicode-Collate.changes +++ b/perl-Unicode-Collate.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Mon Aug 23 14:53:07 UTC 2021 - Dirk Stoecker + +- updated to 1.31 + see /usr/share/doc/packages/perl-Unicode-Collate/Changes + + 1.31 Sat Aug 21 20:02:21 2021 + - Someone, not via rt.cpan.org, proposed patches for EBCDIC. Thanks! + - Here is an experimental EBCDIC support, that the author has not used yet. + - Since this distribution on CPAN has a pure-perl module without XSUB, + then the internal values should be Unicode, but not native. + - All t/*.t files include sub _pack_U and _unpack_U as well as sub ok. + + 1.30 Sun Jun 6 21:33:26 2021 + - [rt.cpan.org #133952] mkheader subject to "print on closed filehandle" + warnings + ------------------------------------------------------------------- Thu May 6 10:30:46 UTC 2021 - Dirk Müller @@ -327,4 +344,3 @@ Wed Oct 5 14:28:31 UTC 2011 - coolo@suse.com - initial package 0.78 * created by cpanspec 1.78.06 - diff --git a/perl-Unicode-Collate.spec b/perl-Unicode-Collate.spec index 01f8fb3..cccb045 100644 --- a/perl-Unicode-Collate.spec +++ b/perl-Unicode-Collate.spec @@ -18,35 +18,36 @@ %define cpan_name Unicode-Collate Name: perl-Unicode-Collate -Version: 1.29 +Version: 1.31 Release: 0 -Summary: Unicode Collation Algorithm License: Artistic-1.0 OR GPL-1.0-or-later -Group: Development/Libraries/Perl +Summary: Unicode Collation Algorithm URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/S/SA/SADAHIRO/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildRequires: perl BuildRequires: perl-macros +%{perl_requires} +# MANUAL BEGIN # special case as perl itself provides Unicode-Collate as well, however # in an older version. we need to rebuild on version updates # to ensure we are always newer than the perl-core provided version (bsc#1185600) %requires_eq perl -%{perl_requires} +# MANUAL END %description This module is an implementation of Unicode Technical Standard #10 (a.k.a. UTS #10) - Unicode Collation Algorithm (a.k.a. UCA). %prep -%setup -q -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{version} %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" %make_build %check -%make_build test +make test %install %perl_make_install @@ -54,7 +55,6 @@ perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc Changes Collate.pmN disableXS enableXS MANIFEST.N mkheader mklocale README %changelog