[perl-MooseX-Role-Cmd] Specify all dependencies

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

 



commit 5b4ffd1a619026f32ddbe11797724de75d23d021
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Fri Jun 22 10:09:28 2012 +0200

    Specify all dependencies

 perl-MooseX-Role-Cmd.spec |   17 ++++++++++++++---
 1 files changed, 14 insertions(+), 3 deletions(-)
---
diff --git a/perl-MooseX-Role-Cmd.spec b/perl-MooseX-Role-Cmd.spec
index 418d0b1..02213c6 100644
--- a/perl-MooseX-Role-Cmd.spec
+++ b/perl-MooseX-Role-Cmd.spec
@@ -7,12 +7,18 @@ Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/MooseX-Role-Cmd/
 Source0:        http://search.cpan.org/CPAN/authors/id/E/ED/EDENC/MooseX-Role-Cmd-%{version}.tar.gz
 BuildArch:      noarch
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(inc::Module::Install)
+# Run-time
+BuildRequires:  perl(Carp)
 BuildRequires:  perl(IPC::Cmd) >= 0.42
-BuildRequires:  perl(IPC::Run)
+BuildRequires:  perl(Moose::Role)
+BuildRequires:  perl(Moose::Util::TypeConstraints)
+# Tests
+BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(lib)
 BuildRequires:  perl(Moose) >= 0.24
-BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Exception)
+BuildRequires:  perl(Test::More)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
@@ -23,6 +29,10 @@ command strings which are passed to IPC::Cmd.
 %prep
 %setup -q -n MooseX-Role-Cmd-%{version}
 
+# Unbundle modules
+rm -rf inc
+sed -i -e '/^inc$/d' MANIFEST
+
 # Filter requires
 cat << \EOF > %{name}-req
 #!/bin/sh
@@ -57,6 +67,7 @@ make test
 %changelog
 * Fri Jun 22 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 0.10-3
 - Perl 5.16 rebuild
+- Specify all dependencies
 
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.10-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