From 0c98e440339db0cfee6fb10deeb495ddbe1397dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 3 Jan 2020 14:46:57 +0100 Subject: [PATCH] Subpackage Unicode::UCD --- gendep.macros | 19 +++++++++++++------ perl.spec | 31 ++++++++++++++++++++++++++++++- 2 files changed, 43 insertions(+), 7 deletions(-) diff --git a/gendep.macros b/gendep.macros index 18cd983..d1e4e28 100644 --- a/gendep.macros +++ b/gendep.macros @@ -2015,6 +2015,19 @@ Provides: perl(Unicode::Normalize) = 1.26 \ %{nil} %global gendep_perl_Unicode_Normalize_debuginfo \ %{nil} +%global gendep_perl_Unicode_UCD \ +Requires: perl(Carp) \ +Requires: perl(Exporter) \ +Requires: perl(File::Spec) \ +Requires: perl(Unicode::Normalize) \ +Requires: perl(charnames) \ +Requires: perl(feature) \ +Requires: perl(if) \ +Requires: perl(integer) \ +Requires: perl(strict) \ +Requires: perl(warnings) \ +Provides: perl(Unicode::UCD) = 0.72 \ +%{nil} %global gendep_perl_User_pwent \ Requires: perl(:VERSION) >= 5.6.0 \ Requires: perl(Carp) \ @@ -2128,11 +2141,6 @@ Requires: perl(File::Spec) \ Requires: perl(I18N::LangTags) \ Requires: perl(Symbol) \ Requires: perl(Text::Tabs) \ -Requires: perl(Unicode::Normalize) \ -Requires: perl(charnames) \ -Requires: perl(feature) \ -Requires: perl(if) \ -Requires: perl(integer) \ Requires: perl(strict) \ Requires: perl(warnings) \ Requires: perl(warnings::register) \ @@ -2151,7 +2159,6 @@ Provides: perl(Pod::Functions) = 1.13 \ Provides: perl(SelectSaver) = 1.02 \ Provides: perl(Symbol) = 1.08 \ Provides: perl(UNIVERSAL) = 1.13 \ -Provides: perl(Unicode::UCD) = 0.72 \ Provides: perl(deprecate) = 0.04 \ Provides: perl(diagnostics) = 1.36 \ Provides: perl(dumpvar.pl) \ diff --git a/perl.spec b/perl.spec index 2d88aeb..996f10c 100644 --- a/perl.spec +++ b/perl.spec @@ -434,7 +434,8 @@ Requires: perl-Thread, perl-Thread-Queue, perl-Thread-Semaphore, Requires: perl-threads, perl-threads-shared, Requires: perl-Tie, perl-Tie-File, perl-Tie-Memoize, perl-Tie-RefHash, Requires: perl-Time, perl-Time-HiRes, perl-Time-Local, perl-Time-Piece, -Requires: perl-Unicode-Collate, perl-Unicode-Normalize, perl-User-pwent, +Requires: perl-Unicode-Collate, perl-Unicode-Normalize, perl-Unicode-UCD, +Requires: perl-User-pwent, Requires: perl-version, # Full EVR is for compatibility with systems that swapped perl and perl-core @@ -3730,6 +3731,23 @@ This package provides Perl functions that can convert strings into various Unicode normalization forms as defined in Unicode Standard Annex #15. %endif +%package Unicode-UCD +Summary: Unicode character database +License: GPL+ or Artistic +Epoch: 0 +Version: 0.72 +BuildArch: noarch +Requires: %perl_compat +Requires: perl(Storable) +%if %{defined perl_bootstrap} +%gendep_perl_Unicode_UCD +%endif +Conflicts: perl < 4:5.30.1-451 + +%description Unicode-UCD +The Unicode::UCD module offers a series of functions that provide a simple +interface to the Unicode Character Database. + %package User-pwent Summary: By-name interface to Perl built-in user name resolver License: GPL+ or Artistic @@ -5366,6 +5384,11 @@ popd %exclude %{archlib}/Unicode/Normalize.pm %exclude %{_mandir}/man3/Unicode::Normalize.* +# Unicode-UCD +%exclude %dir %{privlib}/Unicode +%exclude %{privlib}/Unicode/UCD.pm +%exclude %{_mandir}/man3/Unicode::UCD.* + # User-pwent %exclude %{privlib}/User %exclude %{_mandir}/man3/User::* @@ -6769,6 +6792,11 @@ popd %{_mandir}/man3/Unicode::Normalize.* %endif +%files Unicode-UCD +%dir %{privlib}/Unicode +%{privlib}/Unicode/UCD.pm +%{_mandir}/man3/Unicode::UCD.* + %files User-pwent %{privlib}/User %{_mandir}/man3/User::* @@ -6841,6 +6869,7 @@ popd - Subpackage DBM_Filter modules - Subpackage FileHandle - Subpackage Thread +- Subpackage Unicode::UCD * Wed Jan 29 2020 Fedora Release Engineering - 4:5.30.1-450 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild