[perl-CatalystX-REPL] initial import (rhbz#742559)
Iain Arnell
iarnell at fedoraproject.org
Fri Oct 14 14:21:44 UTC 2011
commit 733c84d640b68383f822272a3ac7f4b6e4754c6b
Author: Iain Arnell <iarnell at gmail.com>
Date: Fri Oct 14 16:21:37 2011 +0200
initial import (rhbz#742559)
.gitignore | 1 +
perl-CatalystX-REPL.spec | 68 ++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 70 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..13735ab 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/CatalystX-REPL-0.04.tar.gz
diff --git a/perl-CatalystX-REPL.spec b/perl-CatalystX-REPL.spec
new file mode 100644
index 0000000..4b41ce5
--- /dev/null
+++ b/perl-CatalystX-REPL.spec
@@ -0,0 +1,68 @@
+Name: perl-CatalystX-REPL
+Version: 0.04
+Release: 2%{?dist}
+Summary: Read-eval-print-loop for debugging your Catalyst application
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/CatalystX-REPL/
+Source0: http://www.cpan.org/authors/id/F/FL/FLORA/CatalystX-REPL-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl(Carp::REPL)
+BuildRequires: perl(Catalyst) >= 5.80006
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(Test::Expect)
+BuildRequires: perl(namespace::autoclean)
+Requires: perl(Catalyst) >= 5.80006
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+# Test::Expect and/or Devel::REPL is failing under mock 1.1.8 in koji
+# all is fine locally with mock 1.1.14, though
+%bcond_with expect_tests
+
+%{?perl_default_filter}
+
+%description
+Using Carp::REPL with a Catalyst application is hard. That's because of all
+the internal exceptions that are being thrown and caught by Catalyst during
+application startup. You'd have to manually skip over all of those.
+
+This role works around that by automatically setting up Carp::REPL after
+starting your application, if the CATALYST_REPL or MYAPP_REPL environment
+variables are set.
+
+%prep
+%setup -q -n CatalystX-REPL-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=%{buildroot}
+
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} %{buildroot}/*
+
+%check
+# Test::Expect and/or Devel::REPL is failing under mock 1.1.8 in koji
+# all is fine locally with mock 1.1.14, though
+%if ! %{with expect_tests}
+grep -lZ 'Test::Expect' t/*.t |xargs -0 rm -f
+%endif
+make test
+
+%files
+%doc Changes LICENSE README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Oct 13 2011 Iain Arnell <iarnell at gmail.com> 0.04-2
+- Test::Expect and/or Devel::REPL fail under mock 1.1.8 in koji
+ use --with expect-tests to enable locally
+
+* Fri Sep 30 2011 Iain Arnell <iarnell at gmail.com> 0.04-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..fcf0746 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d1430f331366a491888b323f92413150 CatalystX-REPL-0.04.tar.gz
More information about the scm-commits
mailing list