diff --git a/gendep.macros b/gendep.macros index ac3651f..8937394 100644 --- a/gendep.macros +++ b/gendep.macros @@ -688,6 +688,15 @@ Requires: perl(strict) \ Requires: perl(warnings) \ Provides: perl(File::Compare) = 1.1006 \ %{nil} +%global gendep_perl_File_Copy \ +Requires: perl(:VERSION) >= 5.6.0 \ +Requires: perl(Config) \ +Requires: perl(Exporter) \ +Requires: perl(File::Spec) \ +Requires: perl(strict) \ +Requires: perl(warnings) \ +Provides: perl(File::Copy) = 2.34 \ +%{nil} %global gendep_perl_File_DosGlob \ Requires: perl(strict) \ Requires: perl(warnings) \ @@ -2165,7 +2174,6 @@ Requires: perl(:VERSION) >= 5.6.0 \ Requires: perl(Carp) \ Requires: perl(Config) \ Requires: perl(Exporter) \ -Requires: perl(File::Spec) \ Requires: perl(I18N::LangTags) \ Requires: perl(Symbol) \ Requires: perl(strict) \ @@ -2177,7 +2185,6 @@ Provides: perl(DirHandle) = 1.05 \ Provides: perl(DynaLoader) = 1.45 \ Provides: perl(EVERY::LAST) \ Provides: perl(English) = 1.10 \ -Provides: perl(File::Copy) = 2.34 \ Provides: perl(Getopt::Std) = 1.12 \ Provides: perl(Pod::Functions) = 1.13 \ Provides: perl(SelectSaver) = 1.02 \ diff --git a/perl.spec b/perl.spec index adbde7a..758b569 100644 --- a/perl.spec +++ b/perl.spec @@ -389,7 +389,7 @@ 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, -Requires: perl-File-Basename, perl-File-Compare, +Requires: perl-File-Basename, perl-File-Compare, perl-File-Copy, Requires: perl-File-DosGlob, perl-File-Fetch, Requires: perl-File-Find, perl-File-Path, perl-File-stat, perl-File-Temp, Requires: perl-FileCache, perl-FileHandle, @@ -1838,6 +1838,24 @@ Conflicts: perl < 4:5.30.1-451 A File::Compare Perl module provides functions for comparing a content of two files specified by a file name or a file handle. +%package File-Copy +Summary: Copy files or file handles +License: GPL+ or Artistic +Epoch: 0 +Version: 2.34 +BuildArch: noarch +Requires: %perl_compat +Requires: perl(Carp) +Requires: perl(File::Basename) +%if %{defined perl_bootstrap} +%gendep_perl_File_Copy +%endif +Conflicts: perl < 4:5.30.1-451 + +%description File-Copy +A File::Copy module provides two basic functions, copy and move, which are +useful for getting the contents of a file from one place to another. + %package File-DosGlob Summary: DOS-like globbing License: GPL+ or Artistic @@ -4766,6 +4784,10 @@ popd %exclude %{privlib}/File/Compare.pm %exclude %{_mandir}/man3/File::Compare.3* +# File-Copy +%exclude %{privlib}/File/Copy.pm +%exclude %{_mandir}/man3/File::Copy.3* + # File-DosGlob %exclude %{archlib}/File/DosGlob.pm %exclude %{archlib}/auto/File/DosGlob @@ -4788,6 +4810,7 @@ popd %exclude %{_mandir}/man3/File::stat.3* # File-Temp +%dir %exclude %{privlib}/File %exclude %{privlib}/File/Temp.pm %exclude %{_mandir}/man3/File::Temp.3* @@ -6045,6 +6068,11 @@ popd %{privlib}/File/Compare.pm %{_mandir}/man3/File::Compare.3* +%files File-Copy +%dir %{privlib}/File +%{privlib}/File/Copy.pm +%{_mandir}/man3/File::Copy.3* + %files File-DosGlob %dir %{archlib}/File %{archlib}/File/DosGlob.pm @@ -6992,6 +7020,7 @@ popd - Subpackage FindBin - Subpackage File::Basename - Subpackage File::Compare +- Subpackage File::Copy * Wed Jan 29 2020 Fedora Release Engineering - 4:5.30.1-450 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild