commit d1cc558f9e53f0e41f62190d4fd0cb7008ae71c0 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Wed Dec 10 12:52:23 2014 +0100 Remove unneeded dependencies perl-Archive-Tar.spec | 58 +++++++++++++++++++++++++++++++++++------------- 1 files changed, 42 insertions(+), 16 deletions(-) --- diff --git a/perl-Archive-Tar.spec b/perl-Archive-Tar.spec index fbbae77..5ac5172 100644 --- a/perl-Archive-Tar.spec +++ b/perl-Archive-Tar.spec @@ -1,6 +1,6 @@ Name: perl-Archive-Tar Version: 2.02 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A module for Perl manipulation of .tar files Group: Development/Libraries License: GPL+ or Artistic @@ -10,38 +10,61 @@ BuildArch: noarch # Most of the BRS are needed only for tests, compression support at run-time # is optional soft dependency. BuildRequires: perl -BuildRequires: perl(Carp) -BuildRequires: perl(Compress::Zlib) >= 2.015 BuildRequires: perl(Config) +BuildRequires: perl(ExtUtils::MakeMaker) +# File::Copy not used +BuildRequires: perl(Getopt::Std) +BuildRequires: perl(strict) +# Run-time: +BuildRequires: perl(Carp) BuildRequires: perl(constant) BuildRequires: perl(Cwd) BuildRequires: perl(Data::Dumper) BuildRequires: perl(Exporter) -BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Basename) BuildRequires: perl(File::Find) -BuildRequires: perl(File::Spec) -BuildRequires: perl(File::Spec::Unix) BuildRequires: perl(File::Path) -BuildRequires: perl(FindBin) -BuildRequires: perl(Getopt::Std) -BuildRequires: perl(IO::Compress::Base) >= 2.015 -BuildRequires: perl(IO::Compress::Bzip2) >= 2.015 -BuildRequires: perl(IO::Compress::Gzip) >= 2.015 +BuildRequires: perl(File::Spec) >= 0.82 +BuildRequires: perl(File::Spec::Unix) +BuildRequires: perl(Getopt::Long) BuildRequires: perl(IO::File) -BuildRequires: perl(IO::String) +BuildRequires: perl(IO::Handle) BuildRequires: perl(IO::Zlib) >= 1.01 +BuildRequires: perl(Pod::Usage) +# Time::Local not used on Linux +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +# Optional run-time: +BuildRequires: perl(IO::Compress::Bzip2) >= 2.015 +# IO::String not used if perl supports useperlio which is true +# Use Compress::Zlib's version for IO::Uncompress::Bunzip2 +BuildRequires: perl(IO::Uncompress::Bunzip2) >= 2.015 +%if !%{defined perl_bootstrap} +BuildRequires: perl(Text::Diff) +%endif +# Tests: +BuildRequires: perl(File::Copy) +BuildRequires: perl(FindBin) BuildRequires: perl(lib) -BuildRequires: perl(strict) BuildRequires: perl(Test::Harness) >= 2.26 BuildRequires: perl(Test::More) +# Optional tests: %if !%{defined perl_bootstrap} -BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod) >= 0.95 %endif -BuildRequires: perl(vars) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) -Requires: perl(Compress::Zlib) >= 2.015 Requires: perl(IO::Zlib) >= 1.01 +# Optional run-time: +Requires: perl(IO::Compress::Bzip2) >= 2.015 +# IO::String not used if perl supports useperlio which is true +# Use Compress::Zlib's version for IO::Uncompress::Bunzip2 +Requires: perl(IO::Uncompress::Bunzip2) >= 2.015 +%if !%{defined perl_bootstrap} +Requires: perl(Text::Diff) +%endif + +# Remove under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(IO::Zlib\\)$ %description Archive::Tar provides an object oriented mechanism for handling tar @@ -74,6 +97,9 @@ make test %changelog +* Wed Dec 10 2014 Petr Pisar <ppisar@xxxxxxxxxx> - 2.02-2 +- Remove unneeded dependencies + * Thu Sep 18 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 2.02-1 - 2.02 bump -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel