Subpackage base and fields

This commit is contained in:
Petr Písař 2019-12-03 16:47:26 +01:00
parent 3abb4eb132
commit 5262221c00
2 changed files with 65 additions and 5 deletions

View File

@ -53,6 +53,11 @@ Requires: perl(strict) \
Requires: perl(:VERSION) >= 5.6.0 \
Provides: perl(autouse) = 1.11 \
%{nil}
%global gendep_perl_base \
Requires: perl(:VERSION) >= 5.8.0 \
Requires: perl(strict) \
Provides: perl(base) = 2.27 \
%{nil}
%global gendep_perl_CPAN \
Requires: perl(:VERSION) >= 5.6.0 \
Requires: perl(App::Cpan) \
@ -602,6 +607,11 @@ Provides: perl(ExtUtils::Typemaps::InputMap) = 3.38 \
Provides: perl(ExtUtils::Typemaps::OutputMap) = 3.38 \
Provides: perl(ExtUtils::Typemaps::Type) = 3.38 \
%{nil}
%global gendep_perl_fields \
Requires: perl(:VERSION) >= 5.8.0 \
Requires: perl(strict) \
Provides: perl(fields) = 2.24 \
%{nil}
%global gendep_perl_File_Fetch \
Requires: perl(Carp) \
Requires: perl(Cwd) \
@ -1760,7 +1770,6 @@ Requires: perl(:VERSION) >= 5.5.0 \
Requires: perl(:VERSION) >= 5.6.0 \
Requires: perl(:VERSION) >= 5.7.0 \
Requires: perl(:VERSION) >= 5.7.3 \
Requires: perl(:VERSION) >= 5.8.0 \
Requires: perl(:VERSION) >= 5.9.1 \
Requires: perl(:VERSION) >= 5.9.4 \
Requires: perl(B) \
@ -1912,7 +1921,6 @@ Provides: perl(User::grent) = 1.03 \
Provides: perl(User::pwent) = 1.01 \
Provides: perl(_charnames) = 1.45 \
Provides: perl(attributes) = 0.33 \
Provides: perl(base) = 2.27 \
Provides: perl(blib) = 1.07 \
Provides: perl(bytes) = 1.07 \
Provides: perl(bytes_heavy.pl) \
@ -1922,7 +1930,6 @@ Provides: perl(diagnostics) = 1.36 \
Provides: perl(dumpvar.pl) \
Provides: perl(encoding::warnings) = 0.13 \
Provides: perl(feature) = 1.54 \
Provides: perl(fields) = 2.24 \
Provides: perl(filetest) = 1.03 \
Provides: perl(if) = 0.0608 \
Provides: perl(less) = 0.03 \

View File

@ -369,7 +369,7 @@ Requires: perl-utils
Requires: perl-Archive-Tar, perl-Attribute-Handlers, perl-autodie,
Requires: perl-AutoLoader, perl-AutoSplit,
Requires: perl-bignum,
Requires: perl-base, perl-bignum,
Requires: perl-Carp, perl-Compress-Raw-Bzip2, perl-Compress-Raw-Zlib,
Requires: perl-Config-Perl-V, perl-constant,
Requires: perl-CPAN, perl-CPAN-Meta, perl-CPAN-Meta-Requirements,
@ -384,7 +384,7 @@ Requires: perl-ExtUtils-Command,
Requires: perl-ExtUtils-Embed, perl-ExtUtils-Install,
Requires: perl-ExtUtils-MakeMaker, perl-ExtUtils-Manifest,
Requires: perl-ExtUtils-Miniperl, perl-ExtUtils-ParseXS,
Requires: perl-File-Fetch, perl-File-Path, perl-File-Temp,
Requires: perl-fields, perl-File-Fetch, perl-File-Path, perl-File-Temp,
Requires: perl-Filter, perl-Filter-Simple,
Requires: perl-Getopt-Long,
Requires: perl-HTTP-Tiny,
@ -754,6 +754,25 @@ 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.
%package base
Summary: Establish an ISA relationship with base classes at compile time
License: GPL+ or Artistic
Epoch: 0
Version: 2.27
BuildArch: noarch
Requires: %perl_compat
Requires: perl(Carp)
%if %{defined perl_bootstrap}
%gendep_perl_base
%endif
Conflicts: perl < 4:5.30.1-451
%description base
"base" module allows you to both load one or more modules, while setting up
inheritance from those modules at the same time. Unless you are using the
"fields" pragma, consider this module discouraged in favor of the
lighter-weight "parent".
%if %{dual_life} || %{rebuild_from_scratch}
%package bignum
Summary: Transparent big number support for Perl
@ -1545,6 +1564,23 @@ necessary to let C functions manipulate Perl values and creates the glue
necessary to let Perl access those functions.
%endif
%package fields
Summary: Compile-time class fields
License: GPL+ or Artistic
Epoch: 0
Version: 2.27
BuildArch: noarch
Requires: %perl_compat
Requires: perl(base)
Requires: perl(Carp)
Requires: perl(Hash::Util)
%if %{defined perl_bootstrap}
%gendep_perl_fields
%endif
Conflicts: perl < 4:5.30.1-451
%description fields
The "fields" pragma enables compile-time and run-time verified class fields.
%if %{dual_life} || %{rebuild_from_scratch}
%package File-Fetch
@ -3469,6 +3505,10 @@ popd
%exclude %{privlib}/autouse.pm
%exclude %{_mandir}/man3/autouse.3*
# base
%exclude %{privlib}/base.pm
%exclude %{_mandir}/man3/base.3*
# bignum
%exclude %{privlib}/bigint.pm
%exclude %{privlib}/bignum.pm
@ -3735,6 +3775,10 @@ popd
%exclude %{_mandir}/man3/ExtUtils::Typemaps::OutputMap.3*
%exclude %{_mandir}/man3/ExtUtils::Typemaps::Type.3*
# fields
%exclude %{privlib}/fields.pm
%exclude %{_mandir}/man3/fields.3*
# File-Fetch
%exclude %{privlib}/File/Fetch.pm
%exclude %{_mandir}/man3/File::Fetch.3*
@ -4367,6 +4411,10 @@ popd
%{privlib}/autouse.pm
%{_mandir}/man3/autouse.3*
%files base
%{privlib}/base.pm
%{_mandir}/man3/base.3*
%if %{dual_life} || %{rebuild_from_scratch}
%files bignum
%{privlib}/bigint.pm
@ -4701,6 +4749,10 @@ popd
%{_mandir}/man3/ExtUtils::Typemaps::Type.3*
%endif
%files fields
%{privlib}/fields.pm
%{_mandir}/man3/fields.3*
%if %{dual_life} || %{rebuild_from_scratch}
%files File-Fetch
%dir %{privlib}/File
@ -5378,6 +5430,7 @@ popd
- Subpackage NEXT
- Subpackage Tie-RefHash
- Subpackage autouse
- Subpackage base and fields
* 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