Subpackage subs

This commit is contained in:
Petr Písař 2020-01-10 13:52:50 +01:00
parent 8dac7a162f
commit a269321f0d
3 changed files with 32 additions and 3 deletions

View File

@ -2205,7 +2205,6 @@ Requires: perl(warnings) \
Provides: perl(experimental) = 0.020 \
%{nil}
%global gendep_perl_interpreter \
Requires: perl(:VERSION) >= 5.0.0 \
Requires: perl(:VERSION) >= 5.6.0 \
Requires: perl(Exporter) \
Requires: perl(I18N::LangTags) \
@ -2217,7 +2216,6 @@ Provides: perl(EVERY::LAST) \
Provides: perl(Pod::Functions) = 1.13 \
Provides: perl(dumpvar.pl) \
Provides: perl(perl5db.pl) \
Provides: perl(subs) = 1.03 \
Provides: perl(vars) = 1.05 \
Provides: perl(vmsish) = 1.04 \
%{nil}
@ -2387,6 +2385,10 @@ Provides: perl(sigtrap) = 1.09 \
Requires: perl(strict) \
Provides: perl(sort) = 2.04 \
%{nil}
%global gendep_perl_subs \
Requires: perl(:VERSION) >= 5.0.0 \
Provides: perl(subs) = 1.03 \
%{nil}
%global gendep_perl_tests \
%{nil}
%global gendep_perl_threads \

View File

@ -1,5 +1,5 @@
from Config import *
addFilter("spelling-error .* (autoloaded|awk|cacheout|closedir|decrement|exe|explicative|gdbm|getgr|gethost|getnet|getproto|getpw|getserv|globbing|gmtime|groff|ithreads|lexically|libnet|localtime|lstat|Memoizing|metapackage|ndbm|Nestable|nonprintable|odbm|opcodes|opendir|perlbug|perldoc|perlfunc|perlglob|perllocale|perldiag|perlmain|perlpod|perlsub|Pragma|printables|reachability|readdir|redispatch|rewinddir|rpmbuild|sdbm|sed|splain|truncations|usr|writemain)");
addFilter("spelling-error .* (autoloaded|awk|cacheout|closedir|decrement|exe|explicative|gdbm|getgr|gethost|getnet|getproto|getpw|getserv|globbing|gmtime|groff|ithreads|lexically|libnet|localtime|lstat|Memoizing|metapackage|ndbm|Nestable|nonprintable|odbm|opcodes|opendir|perlbug|perldoc|perlfunc|perlglob|perllocale|perldiag|perlmain|perlpod|perlsub|Pragma|predeclare|printables|reachability|readdir|redispatch|rewinddir|rpmbuild|sdbm|sed|splain|truncations|usr|writemain)");
addFilter("unexpanded-macro %description .* %(Extensions|INC)");
# POSIX module provides wrappers for libc functions
addFilter("missing-call-to-setgroups-before-setuid .*/auto/POSIX/POSIX.so");

View File

@ -433,6 +433,7 @@ Requires: perl-Safe, perl-Scalar-List-Utils,
Requires: perl-Search-Dict, perl-SelectSaver,
Requires: perl-SelfLoader, perl-sigtrap, perl-Socket, perl-sort,
Requires: perl-Storable,
Requires: perl-subs,
Requires: perl-Symbol, perl-Sys-Hostname, perl-Sys-Syslog,
Requires: perl-Term-ANSIColor, perl-Term-Cap, perl-Term-Complete,
Requires: perl-Term-ReadLine,
@ -3559,6 +3560,23 @@ containing scalar, array, hash or reference objects, i.e. anything that
can be conveniently stored to disk and retrieved at a later time.
%endif
%package subs
Summary: Perl pragma to predeclare subroutine names
License: GPL+ or Artistic
Epoch: 0
Version: 1.03
BuildArch: noarch
Requires: %perl_compat
%if %{defined perl_bootstrap}
%gendep_perl_subs
%endif
Conflicts: perl < 4:5.30.1-451
%description subs
This will predeclare all the subroutines whose names are in the list,
allowing you to use them without parentheses (as list operators) even
before they're declared.
%package Symbol
Summary: Manipulate Perl symbols and their names
License: GPL+ or Artistic
@ -5665,6 +5683,10 @@ popd
%exclude %{archlib}/auto/Storable/
%exclude %{_mandir}/man3/Storable.*
# subs
%exclude %{privlib}/subs.pm
%exclude %{_mandir}/man3/subs.*
# Symbol
%exclude %{privlib}/Symbol.pm
%exclude %{_mandir}/man3/Symbol.*
@ -7113,6 +7135,10 @@ popd
%{privlib}/sort.pm
%{_mandir}/man3/sort.*
%files subs
%{privlib}/subs.pm
%{_mandir}/man3/subs.*
%files Symbol
%{privlib}/Symbol.pm
%{_mandir}/man3/Symbol.*
@ -7456,6 +7482,7 @@ popd
- Subpackage meta_notation
- Subpackage sigtrap
- Subpackage sort
- Subpackage subs
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4:5.30.1-450
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild