Subpackage blib

This commit is contained in:
Petr Písař 2019-12-13 12:50:52 +01:00
parent e750ced830
commit 2d644aafd0
2 changed files with 37 additions and 2 deletions

View File

@ -85,6 +85,11 @@ Requires: perl(:VERSION) >= 5.8.0 \
Requires: perl(strict) \
Provides: perl(base) = 2.27 \
%{nil}
%global gendep_perl_blib \
Requires: perl(Cwd) \
Requires: perl(File::Spec) \
Provides: perl(blib) = 1.07 \
%{nil}
%global gendep_perl_CPAN \
Requires: perl(:VERSION) >= 5.6.0 \
Requires: perl(App::Cpan) \
@ -2097,7 +2102,6 @@ Provides: perl(Unicode::UCD) = 0.72 \
Provides: perl(User::grent) = 1.03 \
Provides: perl(User::pwent) = 1.01 \
Provides: perl(_charnames) = 1.45 \
Provides: perl(blib) = 1.07 \
Provides: perl(bytes) = 1.07 \
Provides: perl(bytes_heavy.pl) \
Provides: perl(charnames) = 1.45 \

View File

@ -370,7 +370,7 @@ Requires: perl-utils
Requires: perl-AnyDBM_File,
Requires: perl-Archive-Tar, perl-Attribute-Handlers, perl-autodie,
Requires: perl-AutoLoader, perl-AutoSplit,
Requires: perl-B, perl-base, perl-Benchmark, perl-bignum,
Requires: perl-B, perl-base, perl-Benchmark, perl-bignum, perl-blib,
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,
@ -872,7 +872,27 @@ Conflicts: perl < 4:5.22.0-348
%description bignum
This package attempts to make it easier to write scripts that use BigInts and
BigFloats in a transparent way.
%endif
%package blib
Summary: Use uninstalled version of a package
License: GPL+ or Artistic
Epoch: 0
Version: 1.07
Requires: %perl_compat
%if %{defined perl_bootstrap}
%gendep_perl_blib
%endif
BuildArch: noarch
Conflicts: perl-interpreter < 4:5.30.1-451
%description blib
This module looks for MakeMaker-like "blib" directory structure starting in
given or current directory and working back up to five levels of directories.
It is intended for use on command line with -M option as a way of testing
arbitrary scripts against an uninstalled version of a package.
%if %{dual_life} || %{rebuild_from_scratch}
%package Carp
Summary: Alternative warn and die for modules
Epoch: 0
@ -4160,6 +4180,10 @@ popd
%exclude %{_mandir}/man3/bignum.*
%exclude %{_mandir}/man3/bigrat.*
# blib
%exclude %{privlib}/blib.pm
%exclude %{_mandir}/man3/blib.*
# Carp
%exclude %{privlib}/Carp
%exclude %{privlib}/Carp.*
@ -5265,7 +5289,13 @@ popd
%{_mandir}/man3/bigint.*
%{_mandir}/man3/bignum.*
%{_mandir}/man3/bigrat.*
%endif
%files blib
%{privlib}/blib.pm
%{_mandir}/man3/blib.*
%if %{dual_life} || %{rebuild_from_scratch}
%files Carp
%{privlib}/Carp
%{privlib}/Carp.*
@ -6473,6 +6503,7 @@ popd
- Subpackage Tie-Memoize
- Subpackage AnyDBM_File
- Subpackage Benchmark
- Subpackage blib
* 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