[perl-CPAN-Meta] Correct dependencies

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

 



commit 6c1dd441a442875a307bb35975dac09e6794768a
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Tue Jan 13 15:46:52 2015 +0100

    Correct dependencies
    
    CPAN::Meta::YAML ≥ 0.008 and JSON::PP ≥ 2.27200 are default
    Parse::CPAN::Meta back-ends declared also there. So removing them
    here. Otherwise they would have to be run-required too or classified as
    test-dependencies which they weren't.

 perl-CPAN-Meta.spec |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/perl-CPAN-Meta.spec b/perl-CPAN-Meta.spec
index 41a864a..9ad6280 100644
--- a/perl-CPAN-Meta.spec
+++ b/perl-CPAN-Meta.spec
@@ -1,7 +1,7 @@
 Name:           perl-CPAN-Meta
 Summary:        Distribution metadata for a CPAN dist
 Version:        2.143240
-Release:        1%{?dist}
+Release:        2%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/CPAN-Meta-%{version}.tar.gz
@@ -15,8 +15,6 @@ BuildRequires:  perl(warnings)
 # Module
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(CPAN::Meta::Requirements) >= 2.121
-BuildRequires:  perl(CPAN::Meta::YAML) >= 0.008
-BuildRequires:  perl(JSON::PP) >= 2.27200
 BuildRequires:  perl(Parse::CPAN::Meta) >= 1.4414
 BuildRequires:  perl(Scalar::Util)
 BuildRequires:  perl(version) >= 0.88
@@ -26,14 +24,17 @@ BuildRequires:  perl(File::Basename)
 BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(File::Temp) >= 0.20
 BuildRequires:  perl(IO::Dir)
-BuildRequires:  perl(List::Util)
 BuildRequires:  perl(overload)
 BuildRequires:  perl(Test::More) >= 0.88
 BuildRequires:  perl(utf8)
 # Runtime
 Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
+Requires:       perl(version) >= 0.88
 
 %{?perl_default_filter}
+# Remove under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(CPAN::Meta::Requirements\\)$
+%global __requires_exclude %{__requires_exclude}|^perl\\(Parse::CPAN::Meta\\) >= 1.4400
 
 %description
 Software distributions released to the CPAN include a META.json or,
@@ -79,6 +80,9 @@ make test
 %{_mandir}/man3/CPAN::Meta::Validator.3*
 
 %changelog
+* Tue Jan 13 2015 Petr Pisar <ppisar@xxxxxxxxxx> - 2.143240-2
+- Correct dependencies
+
 * Thu Nov 20 2014 Paul Howarth <paul@xxxxxxxxxxxx> - 2.143240-1
 - Update to 2.143240
   - Give correct path in nested merges such as resources
--
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