Subpackage overloading
This commit is contained in:
parent
6970040455
commit
ff33f4158e
@ -2169,7 +2169,6 @@ 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.0.0 \
|
||||||
Requires: perl(:VERSION) >= 5.10.1 \
|
|
||||||
Requires: perl(:VERSION) >= 5.6.0 \
|
Requires: perl(:VERSION) >= 5.6.0 \
|
||||||
Requires: perl(Carp) \
|
Requires: perl(Carp) \
|
||||||
Requires: perl(Config) \
|
Requires: perl(Config) \
|
||||||
@ -2196,8 +2195,6 @@ Provides: perl(feature) = 1.54 \
|
|||||||
Provides: perl(filetest) = 1.03 \
|
Provides: perl(filetest) = 1.03 \
|
||||||
Provides: perl(less) = 0.03 \
|
Provides: perl(less) = 0.03 \
|
||||||
Provides: perl(locale) = 1.09 \
|
Provides: perl(locale) = 1.09 \
|
||||||
Provides: perl(overload::numbers) \
|
|
||||||
Provides: perl(overloading) = 0.02 \
|
|
||||||
Provides: perl(perl5db.pl) \
|
Provides: perl(perl5db.pl) \
|
||||||
Provides: perl(sigtrap) = 1.09 \
|
Provides: perl(sigtrap) = 1.09 \
|
||||||
Provides: perl(sort) = 2.04 \
|
Provides: perl(sort) = 2.04 \
|
||||||
@ -2309,6 +2306,12 @@ Provides: perl(open) = 1.11 \
|
|||||||
Requires: perl(warnings::register) \
|
Requires: perl(warnings::register) \
|
||||||
Provides: perl(overload) = 1.30 \
|
Provides: perl(overload) = 1.30 \
|
||||||
%{nil}
|
%{nil}
|
||||||
|
%global gendep_perl_overloading \
|
||||||
|
Requires: perl(:VERSION) >= 5.10.1 \
|
||||||
|
Requires: perl(warnings) \
|
||||||
|
Provides: perl(overload::numbers) \
|
||||||
|
Provides: perl(overloading) = 0.02 \
|
||||||
|
%{nil}
|
||||||
%global gendep_perl_parent \
|
%global gendep_perl_parent \
|
||||||
Requires: perl(strict) \
|
Requires: perl(strict) \
|
||||||
Provides: perl(parent) = 0.237 \
|
Provides: perl(parent) = 0.237 \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
from Config import *
|
from Config import *
|
||||||
addFilter("spelling-error .* (autoloaded|awk|cacheout|decrement|exe|explicative|gdbm|getgr|gethost|getnet|getproto|getpw|getserv|globbing|gmtime|groff|ithreads|libnet|localtime|lstat|Memoizing|metapackage|ndbm|Nestable|odbm|opcodes|perlbug|perldoc|perlfunc|perlglob|perllocale|perldiag|perlmain|perlpod|perlsub|reachability|redispatch|rpmbuild|sdbm|sed|splain|truncations|usr|writemain)");
|
addFilter("spelling-error .* (autoloaded|awk|cacheout|decrement|exe|explicative|gdbm|getgr|gethost|getnet|getproto|getpw|getserv|globbing|gmtime|groff|ithreads|lexically|libnet|localtime|lstat|Memoizing|metapackage|ndbm|Nestable|odbm|opcodes|perlbug|perldoc|perlfunc|perlglob|perllocale|perldiag|perlmain|perlpod|perlsub|reachability|redispatch|rpmbuild|sdbm|sed|splain|truncations|usr|writemain)");
|
||||||
addFilter("unexpanded-macro %description .* %INC");
|
addFilter("unexpanded-macro %description .* %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");
|
||||||
|
31
perl.spec
31
perl.spec
@ -419,7 +419,7 @@ Requires: perl-Net, perl-Net-Ping, perl-NEXT,
|
|||||||
%if %{with gdbm}
|
%if %{with gdbm}
|
||||||
Requires: perl-ODBM_File,
|
Requires: perl-ODBM_File,
|
||||||
%endif
|
%endif
|
||||||
Requires: perl-Opcode, perl-open, perl-overload,
|
Requires: perl-Opcode, perl-open, perl-overload, perl-overloading,
|
||||||
Requires: perl-parent, perl-PathTools, perl-Params-Check, perl-perlfaq,
|
Requires: perl-parent, perl-PathTools, perl-Params-Check, perl-perlfaq,
|
||||||
Requires: perl-PerlIO-via-QuotedPrint, perl-Perl-OSType,
|
Requires: perl-PerlIO-via-QuotedPrint, perl-Perl-OSType,
|
||||||
Requires: perl-Pod-Checker, perl-Pod-Escapes, perl-Pod-Html,
|
Requires: perl-Pod-Checker, perl-Pod-Escapes, perl-Pod-Html,
|
||||||
@ -2872,6 +2872,22 @@ The "overload" pragma allows overloading of Perl operators for a class. To
|
|||||||
overload built-in functions, see "Overriding Built-in Functions" in perlsub
|
overload built-in functions, see "Overriding Built-in Functions" in perlsub
|
||||||
POD instead.
|
POD instead.
|
||||||
|
|
||||||
|
%package overloading
|
||||||
|
Summary: Perl pragma to lexically control overloading
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
Epoch: 0
|
||||||
|
Version: 0.02
|
||||||
|
BuildArch: noarch
|
||||||
|
Requires: %perl_compat
|
||||||
|
Requires: perl(Carp)
|
||||||
|
%if %{defined perl_bootstrap}
|
||||||
|
%gendep_perl_overloading
|
||||||
|
%endif
|
||||||
|
Conflicts: perl-interpreter < 4:5.30.1-451
|
||||||
|
|
||||||
|
%description overloading
|
||||||
|
Overloading pragma allows you to lexically disable or enable overloading.
|
||||||
|
|
||||||
%if %{dual_life} || %{rebuild_from_scratch}
|
%if %{dual_life} || %{rebuild_from_scratch}
|
||||||
%package parent
|
%package parent
|
||||||
Summary: Establish an ISA relationship with base classes at compile time
|
Summary: Establish an ISA relationship with base classes at compile time
|
||||||
@ -5241,6 +5257,12 @@ popd
|
|||||||
%exclude %{privlib}/overload.pm
|
%exclude %{privlib}/overload.pm
|
||||||
%exclude %{_mandir}/man3/overload.3*
|
%exclude %{_mandir}/man3/overload.3*
|
||||||
|
|
||||||
|
# overloading
|
||||||
|
%exclude %dir %{privlib}/overload
|
||||||
|
%exclude %{privlib}/overload/numbers.pm
|
||||||
|
%exclude %{privlib}/overloading.pm
|
||||||
|
%exclude %{_mandir}/man3/overloading.3*
|
||||||
|
|
||||||
# parent
|
# parent
|
||||||
%exclude %{privlib}/parent.pm
|
%exclude %{privlib}/parent.pm
|
||||||
%exclude %{_mandir}/man3/parent.3*
|
%exclude %{_mandir}/man3/parent.3*
|
||||||
@ -6578,6 +6600,12 @@ popd
|
|||||||
%{privlib}/overload.pm
|
%{privlib}/overload.pm
|
||||||
%{_mandir}/man3/overload.3*
|
%{_mandir}/man3/overload.3*
|
||||||
|
|
||||||
|
%files overloading
|
||||||
|
%dir %{privlib}/overload
|
||||||
|
%{privlib}/overload/numbers.pm
|
||||||
|
%{privlib}/overloading.pm
|
||||||
|
%{_mandir}/man3/overloading.3*
|
||||||
|
|
||||||
%if %{dual_life} || %{rebuild_from_scratch}
|
%if %{dual_life} || %{rebuild_from_scratch}
|
||||||
%files parent
|
%files parent
|
||||||
%{privlib}/parent.pm
|
%{privlib}/parent.pm
|
||||||
@ -7050,6 +7078,7 @@ popd
|
|||||||
- Subpackage File::Compare
|
- Subpackage File::Compare
|
||||||
- Subpackage File::Copy
|
- Subpackage File::Copy
|
||||||
- Subpackage overload
|
- Subpackage overload
|
||||||
|
- Subpackage overloading
|
||||||
|
|
||||||
* 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
|
||||||
|
Loading…
Reference in New Issue
Block a user