From c351f9f555df778a39a41329cdaa4b9941b42db8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 10 Jan 2020 13:19:20 +0100 Subject: [PATCH] Subpackage sigtrap --- gendep.macros | 6 ++++-- perl.spec | 32 +++++++++++++++++++++++++++++--- 2 files changed, 33 insertions(+), 5 deletions(-) diff --git a/gendep.macros b/gendep.macros index 53769a6..743ccb9 100644 --- a/gendep.macros +++ b/gendep.macros @@ -2207,7 +2207,6 @@ Provides: perl(experimental) = 0.020 \ %global gendep_perl_interpreter \ Requires: perl(:VERSION) >= 5.0.0 \ Requires: perl(:VERSION) >= 5.6.0 \ -Requires: perl(Carp) \ Requires: perl(Exporter) \ Requires: perl(I18N::LangTags) \ Requires: perl(strict) \ @@ -2218,7 +2217,6 @@ Provides: perl(EVERY::LAST) \ Provides: perl(Pod::Functions) = 1.13 \ Provides: perl(dumpvar.pl) \ Provides: perl(perl5db.pl) \ -Provides: perl(sigtrap) = 1.09 \ Provides: perl(sort) = 2.04 \ Provides: perl(subs) = 1.03 \ Provides: perl(vars) = 1.05 \ @@ -2382,6 +2380,10 @@ Provides: perl(Pod::Text::Color) = 4.11 \ Provides: perl(Pod::Text::Overstrike) = 4.11 \ Provides: perl(Pod::Text::Termcap) = 4.11 \ %{nil} +%global gendep_perl_sigtrap \ +Requires: perl(Carp) \ +Provides: perl(sigtrap) = 1.09 \ +%{nil} %global gendep_perl_tests \ %{nil} %global gendep_perl_threads \ diff --git a/perl.spec b/perl.spec index dfcee5d..8ce579c 100644 --- a/perl.spec +++ b/perl.spec @@ -431,7 +431,7 @@ Requires: perl-Pod-Parser, perl-Pod-Perldoc, perl-Pod-Simple, Requires: perl-Pod-Usage, perl-podlators, perl-POSIX, Requires: perl-Safe, perl-Scalar-List-Utils, Requires: perl-Search-Dict, perl-SelectSaver, -Requires: perl-SelfLoader, perl-Socket, perl-Storable, +Requires: perl-SelfLoader, perl-sigtrap, perl-Socket, perl-Storable, Requires: perl-Symbol, perl-Sys-Hostname, perl-Sys-Syslog, Requires: perl-Term-ANSIColor, perl-Term-Cap, perl-Term-Complete, Requires: perl-Term-ReadLine, @@ -3480,6 +3480,23 @@ This Perl module tells its users that functions in a package are to be autoloaded from after the "__DATA__" token. See also "Autoloading" in perlsub. +%package sigtrap +Summary: Perl pragma to enable simple signal handling +License: GPL+ or Artistic +Epoch: 0 +Version: 1.09 +BuildArch: noarch +Requires: %perl_compat +Requires: perl(meta_notation) = %{perl_version} +Requires: perl(Symbol) +%if %{defined perl_bootstrap} +%gendep_perl_sigtrap +%endif +Conflicts: perl < 4:5.30.1-451 + +%description sigtrap +The sigtrap pragma is a simple interface for installing signal handlers. + %if %{dual_life} || %{rebuild_from_scratch} %package Socket Summary: C socket.h defines and structure manipulators @@ -5614,7 +5631,11 @@ popd # SelfLoader %exclude %{privlib}/SelfLoader.pm -%exclude %{_mandir}/man3/SelfLoader* +%exclude %{_mandir}/man3/SelfLoader.* + +# sigtrap +%exclude %{privlib}/sigtrap.pm +%exclude %{_mandir}/man3/sigtrap.* # Storable %exclude %{archlib}/Storable.pm @@ -7059,7 +7080,11 @@ popd %files SelfLoader %{privlib}/SelfLoader.pm -%{_mandir}/man3/SelfLoader* +%{_mandir}/man3/SelfLoader.* + +%files sigtrap +%{privlib}/sigtrap.pm +%{_mandir}/man3/sigtrap.* %files Symbol %{privlib}/Symbol.pm @@ -7402,6 +7427,7 @@ popd - Subpackage filetest - Subpackage less - Subpackage meta_notation +- Subpackage sigtrap * Wed Jan 29 2020 Fedora Release Engineering - 4:5.30.1-450 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild