Subpackage autouse
This commit is contained in:
parent
b9069f92fd
commit
3abb4eb132
@ -49,6 +49,10 @@ Requires: perl(File::Path) \
|
|||||||
Requires: perl(File::Spec::Functions) \
|
Requires: perl(File::Spec::Functions) \
|
||||||
Requires: perl(strict) \
|
Requires: perl(strict) \
|
||||||
%{nil}
|
%{nil}
|
||||||
|
%global gendep_perl_autouse \
|
||||||
|
Requires: perl(:VERSION) >= 5.6.0 \
|
||||||
|
Provides: perl(autouse) = 1.11 \
|
||||||
|
%{nil}
|
||||||
%global gendep_perl_CPAN \
|
%global gendep_perl_CPAN \
|
||||||
Requires: perl(:VERSION) >= 5.6.0 \
|
Requires: perl(:VERSION) >= 5.6.0 \
|
||||||
Requires: perl(App::Cpan) \
|
Requires: perl(App::Cpan) \
|
||||||
@ -1908,7 +1912,6 @@ Provides: perl(User::grent) = 1.03 \
|
|||||||
Provides: perl(User::pwent) = 1.01 \
|
Provides: perl(User::pwent) = 1.01 \
|
||||||
Provides: perl(_charnames) = 1.45 \
|
Provides: perl(_charnames) = 1.45 \
|
||||||
Provides: perl(attributes) = 0.33 \
|
Provides: perl(attributes) = 0.33 \
|
||||||
Provides: perl(autouse) = 1.11 \
|
|
||||||
Provides: perl(base) = 2.27 \
|
Provides: perl(base) = 2.27 \
|
||||||
Provides: perl(blib) = 1.07 \
|
Provides: perl(blib) = 1.07 \
|
||||||
Provides: perl(bytes) = 1.07 \
|
Provides: perl(bytes) = 1.07 \
|
||||||
|
28
perl.spec
28
perl.spec
@ -735,6 +735,25 @@ Split up your program into files that the AutoLoader module can handle. It is
|
|||||||
used by both the standard Perl libraries and by the ExtUtils::MakeMaker
|
used by both the standard Perl libraries and by the ExtUtils::MakeMaker
|
||||||
utility, to automatically configure libraries for automatic loading.
|
utility, to automatically configure libraries for automatic loading.
|
||||||
|
|
||||||
|
%package autouse
|
||||||
|
Summary: Postpone load of modules until a function is used
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
Epoch: 0
|
||||||
|
Version: 1.11
|
||||||
|
BuildArch: noarch
|
||||||
|
Requires: %perl_compat
|
||||||
|
Requires: perl(Carp)
|
||||||
|
Requires: perl(warnings)
|
||||||
|
%if %{defined perl_bootstrap}
|
||||||
|
%gendep_perl_autouse
|
||||||
|
%endif
|
||||||
|
Conflicts: perl < 4:5.30.1-451
|
||||||
|
|
||||||
|
%description autouse
|
||||||
|
If a module is not loaded yet, then the autouse declaration declares functions
|
||||||
|
in the current package. When these functions are called, they load the package
|
||||||
|
and substitute themselves with the correct definitions.
|
||||||
|
|
||||||
%if %{dual_life} || %{rebuild_from_scratch}
|
%if %{dual_life} || %{rebuild_from_scratch}
|
||||||
%package bignum
|
%package bignum
|
||||||
Summary: Transparent big number support for Perl
|
Summary: Transparent big number support for Perl
|
||||||
@ -3446,6 +3465,10 @@ popd
|
|||||||
%exclude %{privlib}/AutoSplit.pm
|
%exclude %{privlib}/AutoSplit.pm
|
||||||
%exclude %{_mandir}/man3/AutoSplit.3*
|
%exclude %{_mandir}/man3/AutoSplit.3*
|
||||||
|
|
||||||
|
# autouse
|
||||||
|
%exclude %{privlib}/autouse.pm
|
||||||
|
%exclude %{_mandir}/man3/autouse.3*
|
||||||
|
|
||||||
# bignum
|
# bignum
|
||||||
%exclude %{privlib}/bigint.pm
|
%exclude %{privlib}/bigint.pm
|
||||||
%exclude %{privlib}/bignum.pm
|
%exclude %{privlib}/bignum.pm
|
||||||
@ -4340,6 +4363,10 @@ popd
|
|||||||
%{privlib}/AutoSplit.pm
|
%{privlib}/AutoSplit.pm
|
||||||
%{_mandir}/man3/AutoSplit.3*
|
%{_mandir}/man3/AutoSplit.3*
|
||||||
|
|
||||||
|
%files autouse
|
||||||
|
%{privlib}/autouse.pm
|
||||||
|
%{_mandir}/man3/autouse.3*
|
||||||
|
|
||||||
%if %{dual_life} || %{rebuild_from_scratch}
|
%if %{dual_life} || %{rebuild_from_scratch}
|
||||||
%files bignum
|
%files bignum
|
||||||
%{privlib}/bigint.pm
|
%{privlib}/bigint.pm
|
||||||
@ -5350,6 +5377,7 @@ popd
|
|||||||
- Subpackage ExtUtils-Constant
|
- Subpackage ExtUtils-Constant
|
||||||
- Subpackage NEXT
|
- Subpackage NEXT
|
||||||
- Subpackage Tie-RefHash
|
- Subpackage Tie-RefHash
|
||||||
|
- Subpackage autouse
|
||||||
|
|
||||||
* 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