From 2d0c4d309d296cbebae449eb5501235f0613e021 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 12 Dec 2019 10:36:27 +0100 Subject: [PATCH] Subpackage I18N-Langinfo --- gendep.macros | 10 +++++++++- perl.spec | 30 +++++++++++++++++++++++++++++- 2 files changed, 38 insertions(+), 2 deletions(-) diff --git a/gendep.macros b/gendep.macros index 22a35dc..bd4743f 100644 --- a/gendep.macros +++ b/gendep.macros @@ -961,6 +961,15 @@ Requires: perl(strict) \ Requires: perl(warnings::register) \ Provides: perl(I18N::Collate) = 1.02 \ %{nil} +%global gendep_perl_I18N_Langinfo \ +Requires: perl(:VERSION) >= 5.6.0 \ +Requires: perl(Carp) \ +Requires: perl(Exporter) \ +Requires: perl(strict) \ +Requires: perl(warnings) \ +Requires: perl(XSLoader) \ +Provides: perl(I18N::Langinfo) = 0.18 \ +%{nil} %global gendep_perl_I18N_LangTags \ Requires: perl(:VERSION) >= 5.0.0 \ Requires: perl(Exporter) \ @@ -2014,7 +2023,6 @@ Provides: perl(File::stat) = 1.08 \ Provides: perl(FileHandle) = 2.03 \ Provides: perl(FindBin) = 1.51 \ Provides: perl(Getopt::Std) = 1.12 \ -Provides: perl(I18N::Langinfo) = 0.18 \ Provides: perl(Net::hostent) = 1.02 \ Provides: perl(Net::netent) = 1.01 \ Provides: perl(Net::protoent) = 1.01 \ diff --git a/perl.spec b/perl.spec index 866cd33..fee9c59 100644 --- a/perl.spec +++ b/perl.spec @@ -395,7 +395,7 @@ Requires: perl-Getopt-Long, Requires: perl-Hash-Util, perl-Hash-Util-FieldHash, perl-HTTP-Tiny, Requires: perl-if, perl-IO, perl-IO-Compress, perl-IO-Socket-IP, Requires: perl-IO-Zlib, perl-IPC-Cmd, perl-IPC-Open3, perl-IPC-SysV, -Requires: perl-I18N-Collate, perl-I18N-LangTags, +Requires: perl-I18N-Collate, perl-I18N-Langinfo, perl-I18N-LangTags, Requires: perl-JSON-PP, Requires: perl-lib, perl-libnet, perl-libnetcfg, Requires: perl-Locale-Maketext, perl-Locale-Maketext-Simple, @@ -2060,6 +2060,23 @@ 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. +%package I18N-Langinfo +Summary: Query locale information +License: GPL+ or Artistic +Epoch: 0 +Version: 0.18 +Requires: %perl_compat +%if %{defined perl_bootstrap} +%gendep_perl_I18N_Langinfo +%endif +Conflicts: perl-interpreter < 4:5.30.1-451 + +%description I18N-Langinfo +The langinfo() function queries various locale information that can be used to +localize output and user interfaces. It uses the current underlying locale, +regardless of whether or not it was called from within the scope of "use +locale". + %package I18N-LangTags Summary: Functions for dealing with RFC 3066 language tags License: GPL+ or Artistic @@ -4462,6 +4479,11 @@ popd %exclude %{privlib}/I18N/Collate.pm %exclude %{_mandir}/man3/I18N::Collate.* +# I18N-Langinfo +%exclude %{archlib}/auto/I18N +%exclude %{archlib}/I18N +%exclude %{_mandir}/man3/I18N::Langinfo.* + # I18N-LangTags %exclude %dir %{privlib}/I18N %exclude %{privlib}/I18N/LangTags @@ -5616,6 +5638,11 @@ popd %{privlib}/I18N/Collate.pm %{_mandir}/man3/I18N::Collate.* +%files I18N-Langinfo +%{archlib}/auto/I18N +%{archlib}/I18N +%{_mandir}/man3/I18N::Langinfo.* + %files I18N-LangTags %dir %{privlib}/I18N %{privlib}/I18N/LangTags @@ -6209,6 +6236,7 @@ popd - Subpackage FileCache - Subpackage Hash-Util - Subpackage Hash-Util-FieldHash +- Subpackage I18N-Langinfo * Wed Jan 29 2020 Fedora Release Engineering - 4:5.30.1-450 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild