diff --git a/gendep.macros b/gendep.macros index 77fe473..aabe663 100644 --- a/gendep.macros +++ b/gendep.macros @@ -869,6 +869,14 @@ Provides: perl(IPC::SysV) = 2.07 \ %{nil} %global gendep_perl_IPC_SysV_debuginfo \ %{nil} +%global gendep_perl_I18N_Collate \ +Requires: perl(Exporter) \ +Requires: perl(overload) \ +Requires: perl(POSIX) \ +Requires: perl(strict) \ +Requires: perl(warnings::register) \ +Provides: perl(I18N::Collate) = 1.02 \ +%{nil} %global gendep_perl_JSON_PP \ Requires: perl(:VERSION) >= 5.5.0 \ Requires: perl(Carp) \ @@ -1868,7 +1876,6 @@ Provides: perl(GDBM_File) = 1.18 \ Provides: perl(Getopt::Std) = 1.12 \ Provides: perl(Hash::Util) = 0.22 \ Provides: perl(Hash::Util::FieldHash) = 1.20 \ -Provides: perl(I18N::Collate) = 1.02 \ Provides: perl(I18N::LangTags) = 0.43 \ Provides: perl(I18N::LangTags::Detect) = 1.07 \ Provides: perl(I18N::LangTags::List) = 0.40 \ diff --git a/perl.rpmlintrc b/perl.rpmlintrc index 6019ec8..a62ef0d 100644 --- a/perl.rpmlintrc +++ b/perl.rpmlintrc @@ -1,5 +1,5 @@ from Config import * -addFilter("spelling-error .* (autoloaded|awk|gmtime|groff|libnet|localtime|Memoizing|metapackage|Nestable|perlbug|perldoc|perlfunc|perlmain|perlpod|perlsub|reachability|redispatch|rpmbuild|sed|splain|usr|writemain)"); +addFilter("spelling-error .* (autoloaded|awk|gmtime|groff|libnet|localtime|Memoizing|metapackage|Nestable|perlbug|perldoc|perlfunc|perllocale|perlmain|perlpod|perlsub|reachability|redispatch|rpmbuild|sed|splain|usr|writemain)"); addFilter("unexpanded-macro %description .* %INC"); # Applied with "git am" addFilter("patch-not-applied Patch58: perl-5.30.0-PATCH-perl-134329-Use-after-free-in-regcomp.c.patch"); diff --git a/perl.spec b/perl.spec index 6b132b1..7d131e2 100644 --- a/perl.spec +++ b/perl.spec @@ -390,6 +390,7 @@ Requires: perl-Filter, perl-Filter-Simple, Requires: perl-Getopt-Long, Requires: perl-HTTP-Tiny, Requires: perl-if, perl-IO, perl-IO-Compress, perl-IO-Socket-IP, +Requires: perl-I18N-Collate, Requires: perl-IO-Zlib, perl-IPC-Cmd, perl-IPC-SysV, Requires: perl-JSON-PP, Requires: perl-libnet, perl-libnetcfg, @@ -1873,6 +1874,23 @@ This is an object interface for System V messages, semaphores, and inter-process calls. %endif +%package I18N-Collate +Summary: Compare 8-bit scalar data according to the current locale +License: GPL+ or Artistic +Epoch: 0 +Version: 1.02 +Requires: %perl_compat +%if %{defined perl_bootstrap} +%gendep_perl_I18N_Collate +%endif +BuildArch: noarch +Conflicts: perl-interpreter < 4:5.30.1-451 + +%description I18N-Collate +This module provides you with objects that will collate according to your +national character set. This module is deprecated. See the perllocale manual +page for further information. + %if %{dual_life} || %{rebuild_from_scratch} %package HTTP-Tiny Summary: A small, simple, correct HTTP/1.1 client @@ -3990,6 +4008,10 @@ popd %exclude %{_mandir}/man3/IPC::SharedMem.* %exclude %{_mandir}/man3/IPC::SysV.* +# I18N-Collate +%exclude %{privlib}/I18N/Collate.pm +%exclude %{_mandir}/man3/I18N::Collate.* + # JSON-PP %exclude %{_bindir}/json_pp %exclude %dir %{privlib}/JSON @@ -5007,6 +5029,11 @@ popd %{_mandir}/man3/IPC::SysV.* %endif +%files I18N-Collate +%dir %{privlib}/I18N +%{privlib}/I18N/Collate.pm +%{_mandir}/man3/I18N::Collate.* + %if %{dual_life} || %{rebuild_from_scratch} %files JSON-PP %{_bindir}/json_pp @@ -5513,6 +5540,7 @@ popd - Subpackage Dumpvalue - Subpackage encoding-warnings - Subpackage if +- Subpackage I18N-Collate * Wed Jan 29 2020 Fedora Release Engineering - 4:5.30.1-450 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild