[perl-MooseX-Types-Structured] Specify all dependencies

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

 



commit 51f90fcfa84cd23a2200b9ca67e658a8568f0ac0
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Mon Jun 25 11:23:54 2012 +0200

    Specify all dependencies

 perl-MooseX-Types-Structured.spec |   22 +++++++++++++++++-----
 1 files changed, 17 insertions(+), 5 deletions(-)
---
diff --git a/perl-MooseX-Types-Structured.spec b/perl-MooseX-Types-Structured.spec
index f467e14..387d994 100644
--- a/perl-MooseX-Types-Structured.spec
+++ b/perl-MooseX-Types-Structured.spec
@@ -7,22 +7,30 @@ Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/MooseX-Types-Structured/
 Source0:        http://www.cpan.org/authors/id/J/JJ/JJNAPIORK/MooseX-Types-Structured-%{version}.tar.gz
 BuildArch:      noarch
-BuildRequires:  perl(DateTime)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
+# Run-time
 BuildRequires:  perl(Devel::PartialDump) >= 0.13
-BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(Moose) >= 1.08
 BuildRequires:  perl(Moose::Meta::TypeCoercion)
 BuildRequires:  perl(Moose::Meta::TypeConstraint)
 BuildRequires:  perl(Moose::Meta::TypeConstraint::Parameterizable)
 BuildRequires:  perl(Moose::Util::TypeConstraints) >= 1.06
 BuildRequires:  perl(MooseX::Types) >= 0.22
+BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(Sub::Exporter) >= 0.982
+# Tests
+BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(DateTime)
+BuildRequires:  perl(Moose) >= 1.08
 BuildRequires:  perl(MooseX::Types::DateTime)
 BuildRequires:  perl(MooseX::Types::Moose)
-BuildRequires:  perl(Sub::Exporter) >= 0.982
 BuildRequires:  perl(Test::Fatal)
 BuildRequires:  perl(Test::More) >= 0.94
-Requires:       perl(Moose) >= 1.08
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(Devel::PartialDump) >= 0.13
+Requires:       perl(Moose) >= 1.08
+Requires:       perl(Moose::Meta::TypeCoercion)
+Requires:       perl(Moose::Meta::TypeConstraint)
+Requires:       perl(Moose::Meta::TypeConstraint::Parameterizable)
 # hidden from PAUSE, but need to be available
 Provides:       perl(MooseX::Meta::TypeCoercion::Structured) = %{version}
 Provides:       perl(MooseX::Meta::TypeCoercion::Structured::Optional) = %{version}
@@ -33,6 +41,9 @@ Provides:       perl(MooseX::Types::Structured::OverflowHandler) = %{version}
 
 
 %{?perl_default_filter}
+# Remove underspecified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Devel::PartialDump\\)
+%global __requires_exclude %{__requires_exclude}|^perl\\((Moose|Moose::Util::TypeConstraints)\\)$
 
 %description
 A structured type constraint is a standard container Moose type constraint,
@@ -65,6 +76,7 @@ make test
 %changelog
 * Fri Jun 22 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 0.28-3
 - Perl 5.16 rebuild
+- Specify all dependencies
 
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.28-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
--
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