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

View File

@ -1,5 +1,5 @@
from Config import * 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)"); addFilter("unexpanded-macro %description .* %(Extensions|INC)");
# POSIX module provides wrappers for libc functions # POSIX module provides wrappers for libc functions
addFilter("missing-call-to-setgroups-before-setuid .*/auto/POSIX/POSIX.so"); 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-Search-Dict, perl-SelectSaver,
Requires: perl-SelfLoader, perl-sigtrap, perl-Socket, perl-sort, Requires: perl-SelfLoader, perl-sigtrap, perl-Socket, perl-sort,
Requires: perl-Storable, Requires: perl-Storable,
Requires: perl-subs,
Requires: perl-Symbol, perl-Sys-Hostname, perl-Sys-Syslog, Requires: perl-Symbol, perl-Sys-Hostname, perl-Sys-Syslog,
Requires: perl-Term-ANSIColor, perl-Term-Cap, perl-Term-Complete, Requires: perl-Term-ANSIColor, perl-Term-Cap, perl-Term-Complete,
Requires: perl-Term-ReadLine, 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. can be conveniently stored to disk and retrieved at a later time.
%endif %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 %package Symbol
Summary: Manipulate Perl symbols and their names Summary: Manipulate Perl symbols and their names
License: GPL+ or Artistic License: GPL+ or Artistic
@ -5665,6 +5683,10 @@ popd
%exclude %{archlib}/auto/Storable/ %exclude %{archlib}/auto/Storable/
%exclude %{_mandir}/man3/Storable.* %exclude %{_mandir}/man3/Storable.*
# subs
%exclude %{privlib}/subs.pm
%exclude %{_mandir}/man3/subs.*
# Symbol # Symbol
%exclude %{privlib}/Symbol.pm %exclude %{privlib}/Symbol.pm
%exclude %{_mandir}/man3/Symbol.* %exclude %{_mandir}/man3/Symbol.*
@ -7113,6 +7135,10 @@ popd
%{privlib}/sort.pm %{privlib}/sort.pm
%{_mandir}/man3/sort.* %{_mandir}/man3/sort.*
%files subs
%{privlib}/subs.pm
%{_mandir}/man3/subs.*
%files Symbol %files Symbol
%{privlib}/Symbol.pm %{privlib}/Symbol.pm
%{_mandir}/man3/Symbol.* %{_mandir}/man3/Symbol.*
@ -7456,6 +7482,7 @@ popd
- Subpackage meta_notation - Subpackage meta_notation
- Subpackage sigtrap - Subpackage sigtrap
- Subpackage sort - Subpackage sort
- Subpackage subs
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4:5.30.1-450 * 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 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild