diff --git a/gendep.macros b/gendep.macros index a4558b9..32f029d 100644 --- a/gendep.macros +++ b/gendep.macros @@ -1408,6 +1408,18 @@ Requires: perl(strict) \ Requires: perl(vars) \ Provides: perl(Pod::Usage) = 1.69 \ %{nil} +%global gendep_perl_POSIX \ +Requires: perl(Exporter) \ +Requires: perl(Fcntl) \ +Requires: perl(strict) \ +Requires: perl(Tie::Hash) \ +Requires: perl(warnings) \ +Requires: perl(XSLoader) \ +Provides: perl(POSIX) = 1.88 \ +Provides: perl(POSIX::SigAction) \ +Provides: perl(POSIX::SigRt) \ +Provides: perl(POSIX::SigSet) \ +%{nil} %global gendep_perl_Safe \ Requires: perl(:VERSION) >= 5.3.0 \ Requires: perl(B) \ @@ -2042,10 +2054,6 @@ Provides: perl(Net::hostent) = 1.02 \ Provides: perl(Net::netent) = 1.01 \ Provides: perl(Net::protoent) = 1.01 \ Provides: perl(Net::servent) = 1.02 \ -Provides: perl(POSIX) = 1.88 \ -Provides: perl(POSIX::SigAction) \ -Provides: perl(POSIX::SigRt) \ -Provides: perl(POSIX::SigSet) \ Provides: perl(Pod::Functions) = 1.13 \ Provides: perl(SelectSaver) = 1.02 \ Provides: perl(Symbol) = 1.08 \ diff --git a/perl.rpmlintrc b/perl.rpmlintrc index 852f13b..d68aed3 100644 --- a/perl.rpmlintrc +++ b/perl.rpmlintrc @@ -1,5 +1,7 @@ from Config import * addFilter("spelling-error .* (autoloaded|awk|cacheout|decrement|exe|gdbm|globbing|gmtime|groff|libnet|localtime|Memoizing|metapackage|ndbm|Nestable|odbm|opcodes|perlbug|perldoc|perlfunc|perlglob|perllocale|perlmain|perlpod|perlsub|reachability|redispatch|rpmbuild|sdbm|sed|splain|truncations|usr|writemain)"); addFilter("unexpanded-macro %description .* %INC"); +# POSIX module provides wrappers for libc functions +addFilter("missing-call-to-setgroups-before-setuid .*/auto/POSIX/POSIX.so"); # 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 6f39891..2fcf125 100644 --- a/perl.spec +++ b/perl.spec @@ -417,7 +417,7 @@ 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, +Requires: perl-Pod-Usage, perl-podlators, perl-POSIX, Requires: perl-Safe, perl-Scalar-List-Utils, Requires: perl-SDBM_File, perl-Search-Dict, Requires: perl-SelfLoader, perl-Socket, perl-Storable, perl-Sys-Syslog, @@ -2886,6 +2886,22 @@ includes several sub-classes of Pod::Text for formatted output to terminals with various capabilities. %endif +%package POSIX +Summary: Perl interface to IEEE Std 1003.1 +License: GPL+ or Artistic +Epoch: 0 +Version: 1.88 +Requires: %perl_compat +Requires: perl(Carp) +%if %{defined perl_bootstrap} +%gendep_perl_POSIX +%endif +Conflicts: perl-interpreter < 4:5.30.1-451 + +%description POSIX +The POSIX module permits you to access all (or nearly all) the standard POSIX +1003.1 identifiers. Many of these identifiers have been given Perl interfaces. + %package Safe Summary: Compile and execute code in restricted compartments License: GPL+ or Artistic @@ -4722,6 +4738,11 @@ popd %exclude %{privlib}/Perl/OSType.pm %exclude %{_mandir}/man3/Perl::OSType.3pm* +# POSIX +%exclude %{archlib}/auto/POSIX +%exclude %{archlib}/POSIX.* +%exclude %{_mandir}/man3/POSIX.* + # open %exclude %{privlib}/open.pm %exclude %{_mandir}/man3/open.3* @@ -5896,6 +5917,11 @@ popd %{_mandir}/man3/Opcode.3* %{_mandir}/man3/ops.3* +%files POSIX +%{archlib}/auto/POSIX +%{archlib}/POSIX.* +%{_mandir}/man3/POSIX.* + %if %{dual_life} || %{rebuild_from_scratch} %files PathTools %{archlib}/Cwd.pm @@ -6313,6 +6339,7 @@ popd - Subpackage mro - Subpackage Opcode - Move PerlIO to perl-libs +- Subpackage POSIX * Wed Jan 29 2020 Fedora Release Engineering - 4:5.30.1-450 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild