commit 7f2a124671afa1d32d62f63fb0888aa7e75c2318
Author: Petr Písař <ppi...@redhat.com>
Date:   Fri Mar 2 10:43:13 2012 +0100

    Import

 .gitignore                |    1 +
 perl-Test-Moose-More.spec |   61 +++++++++++++++++++++++++++++++++++++++++++++
 sources                   |    1 +
 3 files changed, 63 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..7f6b90b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Test-Moose-More-0.005.tar.gz
diff --git a/perl-Test-Moose-More.spec b/perl-Test-Moose-More.spec
new file mode 100644
index 0000000..0cadf8f
--- /dev/null
+++ b/perl-Test-Moose-More.spec
@@ -0,0 +1,61 @@
+Name:           perl-Test-Moose-More
+Version:        0.005
+Release:        1%{?dist}
+Summary:        More tools for testing Moose packages
+License:        LGPLv2+
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Test-Moose-More/
+Source0:        
http://www.cpan.org/authors/id/R/RS/RSRCHBOY/Test-Moose-More-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+# Runt-time:
+BuildRequires:  perl(Moose::Util)
+BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(Sub::Exporter)
+BuildRequires:  perl(Test::Builder)
+BuildRequires:  perl(Test::Moose)
+BuildRequires:  perl(Test::More) >= 0.88
+# Tests only:
+BuildRequires:  perl(File::Find)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(Moose)
+BuildRequires:  perl(Moose::Role)
+BuildRequires:  perl(MooseX::AttributeShortcuts)
+BuildRequires:  perl(Test::Builder::Tester)
+# Optional tests:
+BuildRequires:  perl(Test::Script) >= 1.05
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+Requires:       perl(Test::More) >= 0.88
+
+# Removed under-specified dependencies
+%global __requires_exclude 
%{?__requires_exclude:%__requires_exclude|}^perl\\(Test::More\\)$
+
+%description
+This package contains a number of additional tests that can be employed
+against Moose classes/roles. It is intended to replace Test::Moose.
+
+%prep
+%setup -q -n Test-Moose-More-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+# README is the same as main POD
+%doc Changes LICENSE
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Wed Feb 29 2012 Petr Pisar <ppi...@redhat.com> 0.005-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..a075ae0 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+26959b7f6715008a7257edd3c09329f4  Test-Moose-More-0.005.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to