From 811dcb387fc340c8ccce1db31e9492915b5f65f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 10 Jan 2020 15:17:35 +0100 Subject: [PATCH] Subpackage Pod-Functions --- gendep.macros | 7 +++++-- perl.spec | 32 +++++++++++++++++++++++++++++--- 2 files changed, 34 insertions(+), 5 deletions(-) diff --git a/gendep.macros b/gendep.macros index 56c7cf8..d505d44 100644 --- a/gendep.macros +++ b/gendep.macros @@ -1388,6 +1388,11 @@ Requires: perl(vars) \ Requires: perl(warnings) \ Provides: perl(Pod::Escapes) = 1.07 \ %{nil} +%global gendep_perl_Pod_Functions \ +Requires: perl(Exporter) \ +Requires: perl(strict) \ +Provides: perl(Pod::Functions) = 1.13 \ +%{nil} %global gendep_perl_Pod_Html \ Requires: perl(Carp) \ Requires: perl(Config) \ @@ -2205,13 +2210,11 @@ Requires: perl(warnings) \ Provides: perl(experimental) = 0.020 \ %{nil} %global gendep_perl_interpreter \ -Requires: perl(Exporter) \ Requires: perl(I18N::LangTags) \ Requires: perl(strict) \ Requires: perl(warnings) \ Provides: perl(DB) = 1.08 \ Provides: perl(EVERY::LAST) \ -Provides: perl(Pod::Functions) = 1.13 \ Provides: perl(dumpvar.pl) \ Provides: perl(perl5db.pl) \ %{nil} diff --git a/perl.spec b/perl.spec index 106dda5..2957bf5 100644 --- a/perl.spec +++ b/perl.spec @@ -426,9 +426,9 @@ Requires: perl-ODBM_File, Requires: perl-Opcode, perl-open, perl-overload, perl-overloading, Requires: perl-parent, perl-PathTools, perl-Params-Check, perl-perlfaq, Requires: perl-PerlIO-via-QuotedPrint, perl-Perl-OSType, -Requires: perl-Pod-Checker, perl-Pod-Escapes, perl-Pod-Html, -Requires: perl-Pod-Parser, perl-Pod-Perldoc, perl-Pod-Simple, -Requires: perl-Pod-Usage, perl-podlators, perl-POSIX, +Requires: perl-Pod-Checker, perl-Pod-Escapes, perl-Pod-Functions, +Requires: perl-Pod-Html, perl-Pod-Parser, perl-Pod-Perldoc, +Requires: perl-Pod-Simple, perl-Pod-Usage, perl-podlators, perl-POSIX, Requires: perl-Safe, perl-Scalar-List-Utils, Requires: perl-Search-Dict, perl-SelectSaver, Requires: perl-SelfLoader, perl-sigtrap, perl-Socket, perl-sort, @@ -3242,6 +3242,23 @@ BuildArch: noarch This module provides things that are useful in decoding Pod E<...> sequences. %endif +%package Pod-Functions +Summary: Group Perl functions as in perlfunc POD +License: GPL+ or Artistic +Epoch: 0 +Version: 1.13 +BuildArch: noarch +Requires: %perl_compat +# Match perl the functions come from +Requires: perl-libs%{?_isa} = %{perl_epoch}:%{perl_version}-%{release} +%if %{defined perl_bootstrap} +%gendep_perl_Pod_Functions +%endif +Conflicts: perl < 4:5.30.1-451 + +%description Pod-Functions +This module enumerates the Perl functions that are documented in perlfunc POD. + %package Pod-Html Summary: Convert POD files to HTML License: GPL+ or Artistic @@ -5627,6 +5644,9 @@ popd %exclude %{privlib}/Pod/Escapes.pm %exclude %{_mandir}/man3/Pod::Escapes.* +# Pod-Functions +%exclude %{privlib}/Pod/Functions.pm + # Pod-Html %exclude %{_bindir}/pod2html %exclude %{privlib}/Pod/Html.pm @@ -5659,6 +5679,7 @@ popd # Pod-Usage %exclude %{_bindir}/pod2usage +%exclude %dir %{privlib}/Pod %exclude %{privlib}/Pod/Usage.pm %exclude %{_mandir}/man1/pod2usage.* %exclude %{_mandir}/man3/Pod::Usage.* @@ -7073,6 +7094,10 @@ popd %{_mandir}/man3/Pod::Escapes.* %endif +%files Pod-Functions +%dir %{privlib}/Pod +%{privlib}/Pod/Functions.pm + %files Pod-Html %license Pod-Html-license-clarification %dir %{privlib}/Pod @@ -7540,6 +7565,7 @@ popd - Subpackage subs - Subpackage vars - Subpackage vmsish +- Subpackage Pod-Functions * Wed Jan 29 2020 Fedora Release Engineering - 4:5.30.1-450 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild