[perl-Archive-Zip] Correct dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 1510e04aee1f15a0335a568e08e7709a9606d561
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Thu Jan 15 11:01:36 2015 +0100

    Correct dependencies

 perl-Archive-Zip.spec |   17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)
---
diff --git a/perl-Archive-Zip.spec b/perl-Archive-Zip.spec
index fb946e2..a440e11 100644
--- a/perl-Archive-Zip.spec
+++ b/perl-Archive-Zip.spec
@@ -1,6 +1,6 @@
 Name:           perl-Archive-Zip
 Version:        1.39
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Perl library for accessing Zip archives
 
 Group:          Development/Libraries
@@ -10,7 +10,6 @@ Source0:        http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/Archive-Zip-%{
 BuildArch:      noarch
 #https://rt.cpan.org/Public/Bug/Display.html?id=54827
 Patch0:         Archive-Zip-cpan-rt-54827.patch
-
 BuildRequires:  perl
 BuildRequires:  perl(Config)
 BuildRequires:  perl(ExtUtils::MakeMaker)
@@ -21,7 +20,7 @@ BuildRequires:  perl(Carp)
 BuildRequires:  perl(Compress::Raw::Zlib)
 BuildRequires:  perl(constant)
 BuildRequires:  perl(Cwd)
-BuildRequires:  perl(Encode)
+# Encode not used on Linux
 BuildRequires:  perl(Exporter)
 BuildRequires:  perl(File::Basename)
 BuildRequires:  perl(File::Copy)
@@ -33,18 +32,23 @@ BuildRequires:  perl(FileHandle)
 BuildRequires:  perl(integer)
 BuildRequires:  perl(IO::File)
 BuildRequires:  perl(IO::Seekable)
+# lib not used at tests
 BuildRequires:  perl(Time::Local)
 BuildRequires:  perl(vars)
 # Tests
 BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(File::Spec::Unix)
-BuildRequires:  perl(IO::Scalar)
+# IO::Scalar not used
 BuildRequires:  perl(Test::More) >= 0.88
 BuildRequires:  perl(warnings)
 BuildRequires:  unzip
 BuildRequires:  zip
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(Exporter)
+Requires:       perl(File::Spec) >= 0.80
 
-Requires:  perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+# Remove under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(File::Spec\\)$
 
 %description
 The Archive::Zip module allows a Perl program to create, manipulate,
@@ -88,6 +92,9 @@ make test
 
 
 %changelog
+* Thu Jan 15 2015 Petr Pisar <ppisar@xxxxxxxxxx> - 1.39-2
+- Correct dependencies
+
 * Wed Oct 22 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.39-1
 - 1.39 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




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux