[perl-Git-CPAN-Patch] Do not test MooseX::App::Cmd::Command without Moose

Petr Pisar ppisar at fedoraproject.org
Fri Apr 18 11:37:36 UTC 2014


commit 471fc0eb822b2d5c92c42d50be15ec5f8d4bed4e
Author: Petr Písař <ppisar at redhat.com>
Date:   Fri Apr 18 13:35:40 2014 +0200

    Do not test MooseX::App::Cmd::Command without Moose

 ...test-MooseX-App-Cmd-Command-without-Moose.patch |   43 ++++++++++++++++++++
 perl-Git-CPAN-Patch.spec                           |    8 +++-
 2 files changed, 50 insertions(+), 1 deletions(-)
---
diff --git a/Git-CPAN-Patch-0.8.0-Do-not-test-MooseX-App-Cmd-Command-without-Moose.patch b/Git-CPAN-Patch-0.8.0-Do-not-test-MooseX-App-Cmd-Command-without-Moose.patch
new file mode 100644
index 0000000..e26c61d
--- /dev/null
+++ b/Git-CPAN-Patch-0.8.0-Do-not-test-MooseX-App-Cmd-Command-without-Moose.patch
@@ -0,0 +1,43 @@
+From eb36cf42f2bfcf2d30191f29f62617d3912937d4 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
+Date: Fri, 18 Apr 2014 13:30:42 +0200
+Subject: [PATCH] Do not test MooseX::App::Cmd::Command without Moose
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+MooseX::App::Cmd::Command from MooseX-App-Cmd-0.27 defaults to Mouse.
+MooseX::App::Cmd::Command cannot be used without previous explcit use
+Moose.
+
+<https://bugzilla.redhat.com/show_bug.cgi?id=1089247>
+
+Signed-off-by: Petr Písař <ppisar at redhat.com>
+---
+ t/000-report-versions.t | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/t/000-report-versions.t b/t/000-report-versions.t
+index 04c5394..a6b4e72 100644
+--- a/t/000-report-versions.t
++++ b/t/000-report-versions.t
+@@ -402,6 +402,8 @@ BEGIN {
+     # the Moose distribution and it's certain that someone who uses
+     # Moose::Role also uses Moose somewhere, so if we disallow Moose::Role,
+     # we'll still get the relevant version number.
++    #
++    # MooseX::App::Cmd::Command defaults Mouse which are not compatible.
+ 
+     my %skip = map { $_ => 1 } qw(
+       App::FatPacker
+@@ -409,6 +411,7 @@ BEGIN {
+       Devel::Cover
+       Module::Install
+       Moose::Role
++      MooseX::App::Cmd::Command
+       POE::Loop::Tk
+       Template::Test
+       Test::Kwalitee
+-- 
+1.9.0
+
diff --git a/perl-Git-CPAN-Patch.spec b/perl-Git-CPAN-Patch.spec
index bd4ae48..7bfff06 100644
--- a/perl-Git-CPAN-Patch.spec
+++ b/perl-Git-CPAN-Patch.spec
@@ -1,10 +1,12 @@
 Name:           perl-Git-CPAN-Patch
 Summary:        Patch CPAN modules using Git
 Version:        0.8.0
-Release:        5%{?dist}
+Release:        6%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/Y/YA/YANICK/Git-CPAN-Patch-%{version}.tar.gz
+# Do not test MooseX::App::Cmd::Command without Moose, bug #1089247
+Patch0:         Git-CPAN-Patch-0.8.0-Do-not-test-MooseX-App-Cmd-Command-without-Moose.patch
 URL:            http://search.cpan.org/dist/Git-CPAN-Patch/
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildArch:      noarch
@@ -74,6 +76,7 @@ sending back patches to its maintainer.
 
 %prep
 %setup -q -n Git-CPAN-Patch-%{version}
+%patch0 -p1
 
 %build
 %{__perl} Build.PL installdirs=vendor
@@ -102,6 +105,9 @@ mv %{buildroot}/%{_bindir}/* %{buildroot}%{_libexecdir}/git-core/
 %{_mandir}/man1/*
 
 %changelog
+* Fri Apr 18 2014 Petr Pisar <ppisar at redhat.com> - 0.8.0-6
+- Do not test MooseX::App::Cmd::Command without Moose (bug #1089247)
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.8.0-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list