diff --git a/gendep.macros b/gendep.macros index 1a73e40..7036816 100644 --- a/gendep.macros +++ b/gendep.macros @@ -674,6 +674,13 @@ Requires: perl(:VERSION) >= 5.8.0 \ Requires: perl(strict) \ Provides: perl(fields) = 2.24 \ %{nil} +%global gendep_perl_File_Basename \ +Requires: perl(:VERSION) >= 5.6.0 \ +Requires: perl(Exporter) \ +Requires: perl(strict) \ +Requires: perl(warnings) \ +Provides: perl(File::Basename) = 2.85 \ +%{nil} %global gendep_perl_File_DosGlob \ Requires: perl(strict) \ Requires: perl(warnings) \ @@ -2163,7 +2170,6 @@ Provides: perl(DirHandle) = 1.05 \ Provides: perl(DynaLoader) = 1.45 \ Provides: perl(EVERY::LAST) \ Provides: perl(English) = 1.10 \ -Provides: perl(File::Basename) = 2.85 \ Provides: perl(File::Compare) = 1.1006 \ Provides: perl(File::Copy) = 2.34 \ Provides: perl(Getopt::Std) = 1.12 \ diff --git a/perl.spec b/perl.spec index 2f15643..0bf6813 100644 --- a/perl.spec +++ b/perl.spec @@ -388,7 +388,8 @@ 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-Fcntl, perl-fields, perl-File-DosGlob, perl-File-Fetch, +Requires: perl-Fcntl, perl-fields, +Requires: perl-File-Basename, perl-File-DosGlob, perl-File-Fetch, Requires: perl-File-Find, perl-File-Path, perl-File-stat, perl-File-Temp, Requires: perl-FileCache, perl-FileHandle, Requires: perl-Filter, perl-Filter-Simple, @@ -1800,6 +1801,24 @@ Conflicts: perl < 4:5.30.1-451 %description fields The "fields" pragma enables compile-time and run-time verified class fields. +%package File-Basename +Summary: Parse file paths into directory, file name, and suffix +License: GPL+ or Artistic +Epoch: 0 +Version: 2.85 +BuildArch: noarch +Requires: %perl_compat +Requires: perl(Carp) +Requires: perl(re) +%if %{defined perl_bootstrap} +%gendep_perl_File_Basename +%endif +Conflicts: perl < 4:5.30.1-451 + +%description File-Basename +These routines allow you to parse file paths into their directory, file name, +and suffix. + %package File-DosGlob Summary: DOS-like globbing License: GPL+ or Artistic @@ -4720,6 +4739,10 @@ popd %exclude %{privlib}/fields.pm %exclude %{_mandir}/man3/fields.3* +# File-Basename +%exclude %{privlib}/File/Basename.pm +%exclude %{_mandir}/man3/File::Basename.3* + # File-DosGlob %exclude %{archlib}/File/DosGlob.pm %exclude %{archlib}/auto/File/DosGlob @@ -5989,6 +6012,11 @@ popd %{privlib}/fields.pm %{_mandir}/man3/fields.3* +%files File-Basename +%dir %{privlib}/File +%{privlib}/File/Basename.pm +%{_mandir}/man3/File::Basename.3* + %files File-DosGlob %dir %{archlib}/File %{archlib}/File/DosGlob.pm @@ -6934,6 +6962,7 @@ popd - Subpackage Unicode::UCD - Subpackage diagnostics and move splain tool from perl-utils there - Subpackage FindBin +- Subpackage File::Basename * Wed Jan 29 2020 Fedora Release Engineering - 4:5.30.1-450 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild