[perl-Plack-Middleware-Test-StashWarnings/f14/master] Import.

corsepiu corsepiu at fedoraproject.org
Sat Jan 22 10:02:58 UTC 2011


commit 58f4f9d9e99b2fdbce4bf0a151d9001a59e88d39
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Sat Jan 22 11:02:44 2011 +0100

    Import.

 perl-Plack-Middleware-Test-StashWarnings.spec |   56 +++++++++++++++++++++++++
 1 files changed, 56 insertions(+), 0 deletions(-)
---
diff --git a/perl-Plack-Middleware-Test-StashWarnings.spec b/perl-Plack-Middleware-Test-StashWarnings.spec
new file mode 100644
index 0000000..a2ba354
--- /dev/null
+++ b/perl-Plack-Middleware-Test-StashWarnings.spec
@@ -0,0 +1,56 @@
+Name:           perl-Plack-Middleware-Test-StashWarnings
+Version:        0.04
+Release:        1%{?dist}
+Summary:        Test your application's warnings
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Plack-Middleware-Test-StashWarnings/
+Source0:        http://www.cpan.org/authors/id/S/SA/SARTAK/Plack-Middleware-Test-StashWarnings-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(HTTP::Request::Common)
+BuildRequires:  perl(Plack)
+BuildRequires:  perl(Plack::Request)
+BuildRequires:  perl(Plack::Test)
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+Plack::Middleware::Test::StashWarnings is a Plack middleware component to
+record warnings generated by your application so that you can test them to
+make sure your application complains about the right things.
+
+%prep
+%setup -q -n Plack-Middleware-Test-StashWarnings-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+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
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Wed Dec 22 2010 Ralf Corsépius <corsepiu at fedoraproject.org> 0.04-1
+- Initial Fedora package.


More information about the scm-commits mailing list