commit 9b1c202dac72e5c8fe0bd83368d040a48ce82866 Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx> Date: Tue Jun 26 12:34:41 2012 +0200 Specify all dependencies, fix RT#78054 perl-Fedora-Bugzilla-0.13-fix-NewBug.patch | 12 ++++++++++++ perl-Fedora-Bugzilla.spec | 17 +++++++++++++---- 2 files changed, 25 insertions(+), 4 deletions(-) --- diff --git a/perl-Fedora-Bugzilla-0.13-fix-NewBug.patch b/perl-Fedora-Bugzilla-0.13-fix-NewBug.patch new file mode 100644 index 0000000..135af57 --- /dev/null +++ b/perl-Fedora-Bugzilla-0.13-fix-NewBug.patch @@ -0,0 +1,12 @@ +diff -up Fedora-Bugzilla-0.13/lib/Fedora/Bugzilla/NewBug.pm.orig Fedora-Bugzilla-0.13/lib/Fedora/Bugzilla/NewBug.pm +--- Fedora-Bugzilla-0.13/lib/Fedora/Bugzilla/NewBug.pm.orig 2012-06-26 11:06:39.670201180 +0200 ++++ Fedora-Bugzilla-0.13/lib/Fedora/Bugzilla/NewBug.pm 2012-06-26 11:06:58.813276600 +0200 +@@ -23,7 +23,7 @@ use MooseX::AttributeHelpers; + + use Moose::Util::TypeConstraints; + use MooseX::Types::URI qw{ Uri }; +-use MooseX::Types::DateTime qw{ DateTime }; ++use MooseX::Types::DateTimeX qw{ DateTime }; + + use namespace::clean -except => 'meta'; + diff --git a/perl-Fedora-Bugzilla.spec b/perl-Fedora-Bugzilla.spec index e3be8e1..286ac25 100644 --- a/perl-Fedora-Bugzilla.spec +++ b/perl-Fedora-Bugzilla.spec @@ -8,19 +8,19 @@ License: LGPLv2+ URL: http://camelus.fedorahosted.org Source0: http://search.cpan.org/CPAN/authors/id/R/RS/RSRCHBOY/Fedora-Bugzilla-%{version}.tar.gz Patch0: perl-Fedora-Bugzilla-0.13-no-CascadeClear.patch -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +# https://rt.cpan.org/Public/Bug/Display.html?id=78054 +Patch1: perl-Fedora-Bugzilla-0.13-fix-NewBug.patch +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch - BuildRequires: perl(ExtUtils::MakeMaker) - BuildRequires: perl(namespace::clean) BuildRequires: perl(Crypt::SSLeay) +BuildRequires: perl(Data::Dumper) BuildRequires: perl(DateTime::Format::Pg) BuildRequires: perl(Email::Address) BuildRequires: perl(HTTP::Cookies) BuildRequires: perl(MIME::Base64) -BuildRequires: perl(RPC::XML::Client) BuildRequires: perl(Moose) BuildRequires: perl(MooseX::AttributeHelpers) BuildRequires: perl(MooseX::MultiInitArg) @@ -28,17 +28,23 @@ BuildRequires: perl(MooseX::StrictConstructor) BuildRequires: perl(MooseX::CascadeClearing) BuildRequires: perl(MooseX::Types) BuildRequires: perl(MooseX::Types::DateTime) +BuildRequires: perl(MooseX::Types::DateTimeX) BuildRequires: perl(MooseX::Types::Path::Class) BuildRequires: perl(MooseX::Types::URI) +BuildRequires: perl(Path::Class) +BuildRequires: perl(RPC::XML::Client) BuildRequires: perl(Regexp::Common) BuildRequires: perl(URI::Fetch) BuildRequires: perl(URI::Find) BuildRequires: perl(XML::Twig) +BuildRequires: perl(namespace::clean) # We don't actually use CPAN, but it will error out if it isn't present. BuildRequires: perl(CPAN) # tests +BuildRequires: perl(File::Find::Rule) +BuildRequires: perl(Module::ScanDeps) BuildRequires: perl(MooseX::Types::DateTimeX) BuildRequires: perl(Test::More) @@ -64,6 +70,7 @@ works to expose those as well. %prep %setup -q -n Fedora-Bugzilla-%{version} %patch0 -p1 -b .no-CascadeClear +%patch1 -p1 %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -91,6 +98,8 @@ make test %changelog * Mon Jun 25 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 0.13-12 - Perl 5.16 rebuild +- Specify all dependencies +- fix the bug RT#78054 * Thu Feb 2 2012 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> - 0.13-11 - Clean up spec file -- 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