[perl-Catalyst-Controller-HTML-FormFu] Specify all dependencies

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

 



commit 6137627461d52abac108a159b9a06ee8e57e19db
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Tue Apr 15 10:48:35 2014 +0200

    Specify all dependencies

 perl-Catalyst-Controller-HTML-FormFu.spec |   64 +++++++++++++++++++++++------
 1 files changed, 51 insertions(+), 13 deletions(-)
---
diff --git a/perl-Catalyst-Controller-HTML-FormFu.spec b/perl-Catalyst-Controller-HTML-FormFu.spec
index 76aaf5a..9079342 100644
--- a/perl-Catalyst-Controller-HTML-FormFu.spec
+++ b/perl-Catalyst-Controller-HTML-FormFu.spec
@@ -1,41 +1,76 @@
 Name:           perl-Catalyst-Controller-HTML-FormFu
 Version:        0.09004
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        HTML::FormFu controller for Catalyst
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Catalyst-Controller-HTML-FormFu/
 Source0:        http://search.cpan.org/CPAN/authors/id/C/CF/CFRANKS/Catalyst-Controller-HTML-FormFu-%{version}.tar.gz
 BuildArch:      noarch
-BuildRequires:  perl(Catalyst::Action::RenderView)
+BuildRequires:  perl
+BuildRequires:  perl(inc::Module::Install)
+BuildRequires:  perl(Module::Install::Metadata)
+# Run-time:
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Catalyst::Action)
 BuildRequires:  perl(Catalyst::Component::InstancePerContext)
-BuildRequires:  perl(Catalyst::Plugin::ConfigLoader)
-BuildRequires:  perl(Catalyst::Plugin::Session::State::Cookie)
-BuildRequires:  perl(Catalyst::Plugin::Session::Store::File)
-BuildRequires:  perl(Catalyst::Runtime) >= 5.70
-BuildRequires:  perl(Catalyst::View::TT)
+BuildRequires:  perl(Catalyst::Controller)
+# This is a plug-in for Catalyst::Runtime
+BuildRequires:  perl(Catalyst::Runtime) >= 5.71
 BuildRequires:  perl(Config::Any)
-BuildRequires:  perl(Config::General)
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(HTML::FormFu) >= 0.09007
+BuildRequires:  perl(HTML::FormFu::Deploy)
+BuildRequires:  perl(HTML::FormFu::MultiForm)
+BuildRequires:  perl(HTML::FormFu::Util)
 BuildRequires:  perl(Moose)
 BuildRequires:  perl(MooseX::Attribute::Chained) >= 1.0.1
+BuildRequires:  perl(MRO::Compat)
 BuildRequires:  perl(namespace::autoclean)
 BuildRequires:  perl(Regexp::Assemble)
+BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(strict)
+# Task::Weaken for Scalar::Util, see Makefile.PL
 BuildRequires:  perl(Task::Weaken)
-BuildRequires:  perl(Template)
-BuildRequires:  perl(Test::WWW::Mechanize) >= 1.16
+BuildRequires:  perl(warnings)
+# Tests:
+BuildRequires:  perl(Catalyst)
+BuildRequires:  perl(Catalyst::Action::RenderView)
+BuildRequires:  perl(Catalyst::Plugin::ConfigLoader) >= 0.23
+BuildRequires:  perl(Catalyst::Plugin::Session)
+BuildRequires:  perl(Catalyst::Plugin::Session::State::Cookie)
+BuildRequires:  perl(Catalyst::Plugin::Session::Store::File)
+BuildRequires:  perl(Catalyst::View::TT)
+# Config::General not used
+BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(FindBin)
+BuildRequires:  perl(lib)
+# Template not used
+BuildRequires:  perl(Test::More) >= 0.92
 BuildRequires:  perl(Test::WWW::Mechanize::Catalyst)
+# Test::WWW::Mechanize 1.16 for post_ok()
+BuildRequires:  perl(Test::WWW::Mechanize) >= 1.16
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 Requires:       perl(Catalyst::Component::InstancePerContext)
-Requires:       perl(Catalyst::Runtime) >= 5.70
+Requires:       perl(Catalyst::Controller)
+Requires:       perl(Catalyst::Runtime) >= 5.71
 Requires:       perl(HTML::FormFu) >= 0.09007
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(MooseX::Attribute::Chained) >= 1.0.1
+# Task::Weaken for Scalar::Util, see Makefile.PL
+Requires:       perl(Task::Weaken)
 
 %description
 This base controller merges the functionality of HTML::FormFu with Catalyst.
 
+# Filter unde-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((HTML::FormFu|MooseX::Attribute::Chained)\\)$
+
 %prep
 %setup -q -n Catalyst-Controller-HTML-FormFu-%{version}
+# Remove bundled modules
+rm -r ./inc/*
+sed -i -e '/^inc\//d' MANIFEST
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -58,6 +93,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Tue Apr 15 2014 Petr Pisar <ppisar@xxxxxxxxxx> - 0.09004-5
+- Specify all dependencies (bug #1085432)
+
 * Wed Aug 07 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 0.09004-4
 - Perl 5.18 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