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

corsepiu corsepiu at fedoraproject.org
Sat Jan 22 10:03:23 UTC 2011


commit e6789df844fe88bb95338632963bc1cf8b721192
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Sat Jan 22 11:03:12 2011 +0100

    Import.

 .gitignore                                    |    1 +
 perl-Plack-Middleware-Test-StashWarnings.spec |   56 +++++++++++++++++++++++++
 sources                                       |    1 +
 3 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..98485c5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Plack-Middleware-Test-StashWarnings-0.04.tar.gz
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.
diff --git a/sources b/sources
index e69de29..8a0ff02 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+915339d7ba75c7bc643bf55112957b00  Plack-Middleware-Test-StashWarnings-0.04.tar.gz


More information about the scm-commits mailing list