Subpackage vars
This commit is contained in:
parent
a269321f0d
commit
916f214604
@ -2205,18 +2205,15 @@ Requires: perl(warnings) \
|
||||
Provides: perl(experimental) = 0.020 \
|
||||
%{nil}
|
||||
%global gendep_perl_interpreter \
|
||||
Requires: perl(:VERSION) >= 5.6.0 \
|
||||
Requires: perl(Exporter) \
|
||||
Requires: perl(I18N::LangTags) \
|
||||
Requires: perl(strict) \
|
||||
Requires: perl(warnings) \
|
||||
Requires: perl(warnings::register) \
|
||||
Provides: perl(DB) = 1.08 \
|
||||
Provides: perl(EVERY::LAST) \
|
||||
Provides: perl(Pod::Functions) = 1.13 \
|
||||
Provides: perl(dumpvar.pl) \
|
||||
Provides: perl(perl5db.pl) \
|
||||
Provides: perl(vars) = 1.05 \
|
||||
Provides: perl(vmsish) = 1.04 \
|
||||
%{nil}
|
||||
%global gendep_perl_interpreter_debuginfo \
|
||||
@ -2423,6 +2420,12 @@ Requires: perl(strict) \
|
||||
Requires: perl(vars) \
|
||||
Requires: perl(warnings) \
|
||||
%{nil}
|
||||
%global gendep_perl_vars \
|
||||
Requires: perl(:VERSION) >= 5.6.0 \
|
||||
Requires: perl(strict) \
|
||||
Requires: perl(warnings::register) \
|
||||
Provides: perl(vars) = 1.05 \
|
||||
%{nil}
|
||||
%global gendep_perl_version \
|
||||
Requires: perl(:VERSION) >= 5.6.2 \
|
||||
Requires: perl(strict) \
|
||||
|
34
perl.spec
34
perl.spec
@ -446,7 +446,7 @@ Requires: perl-Tie, perl-Tie-File, perl-Tie-Memoize, perl-Tie-RefHash,
|
||||
Requires: perl-Time, perl-Time-HiRes, perl-Time-Local, perl-Time-Piece,
|
||||
Requires: perl-Unicode-Collate, perl-Unicode-Normalize, perl-Unicode-UCD,
|
||||
Requires: perl-User-pwent,
|
||||
Requires: perl-version,
|
||||
Requires: perl-vars, perl-version,
|
||||
|
||||
# Full EVR is for compatibility with systems that swapped perl and perl-core
|
||||
# <https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules>,
|
||||
@ -4158,6 +4158,29 @@ Conflicts: perl-interpreter < 4:5.30.1-451
|
||||
This package provides an object-oriented interface to Perl build-in getgr*()
|
||||
and getpw*() functions.
|
||||
|
||||
%package vars
|
||||
Summary: Perl pragma to predeclare global variable names
|
||||
License: GPL+ or Artistic
|
||||
Epoch: 0
|
||||
Version: 1.05
|
||||
BuildArch: noarch
|
||||
Requires: %perl_compat
|
||||
Requires: perl(Carp)
|
||||
%if %{defined perl_bootstrap}
|
||||
%gendep_perl_vars
|
||||
%endif
|
||||
Conflicts: perl < 4:5.30.1-451
|
||||
|
||||
%description vars
|
||||
This pragma will predeclare all the variables whose names are in the
|
||||
list, allowing you to use them under "use strict", and disabling any
|
||||
typo warnings for them.
|
||||
|
||||
For use with variables in the current package for a single scope, the
|
||||
functionality provided by this pragma has been superseded by "our"
|
||||
declarations, available in Perl v5.6.0 or later, and use of this pragma is
|
||||
discouraged.
|
||||
|
||||
%if %{dual_life} || %{rebuild_from_scratch}
|
||||
%package version
|
||||
Summary: Perl extension for Version Objects
|
||||
@ -5883,6 +5906,10 @@ popd
|
||||
%exclude %{privlib}/User
|
||||
%exclude %{_mandir}/man3/User::*
|
||||
|
||||
# vars
|
||||
%exclude %{privlib}/vars.pm
|
||||
%exclude %{_mandir}/man3/vars.*
|
||||
|
||||
# version
|
||||
%exclude %{privlib}/version.pm
|
||||
%exclude %{privlib}/version.pod
|
||||
@ -7391,6 +7418,10 @@ popd
|
||||
%{privlib}/User
|
||||
%{_mandir}/man3/User::*
|
||||
|
||||
%files vars
|
||||
%{privlib}/vars.pm
|
||||
%{_mandir}/man3/vars.*
|
||||
|
||||
%if %{dual_life} || %{rebuild_from_scratch}
|
||||
%files version
|
||||
%{privlib}/version.pm
|
||||
@ -7483,6 +7514,7 @@ popd
|
||||
- Subpackage sigtrap
|
||||
- Subpackage sort
|
||||
- Subpackage subs
|
||||
- Subpackage vars
|
||||
|
||||
* 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
|
||||
|
Loading…
Reference in New Issue
Block a user