[perl-Plack-Middleware-RemoveRedundantBody] Initial import (#1166925).
David Dick
ddick at fedoraproject.org
Wed Nov 26 05:26:54 UTC 2014
commit fa93805b2b6fc859878ec8a7638974d00e784083
Author: David Dick <ddick at cpan.org>
Date: Wed Nov 26 16:26:36 2014 +1100
Initial import (#1166925).
.gitignore | 1 +
perl-Plack-Middleware-RemoveRedundantBody.spec | 50 ++++++++++++++++++++++++
sources | 1 +
3 files changed, 52 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..17702b3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Plack-Middleware-RemoveRedundantBody-0.05.tar.gz
diff --git a/perl-Plack-Middleware-RemoveRedundantBody.spec b/perl-Plack-Middleware-RemoveRedundantBody.spec
new file mode 100644
index 0000000..e703fbf
--- /dev/null
+++ b/perl-Plack-Middleware-RemoveRedundantBody.spec
@@ -0,0 +1,50 @@
+Name: perl-Plack-Middleware-RemoveRedundantBody
+Version: 0.05
+Release: 1%{?dist}
+Summary: Plack::Middleware which sets removes body for HTTP response if it's not required
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Plack-Middleware-RemoveRedundantBody/
+Source0: http://www.cpan.org/modules/by-module/Plack/Plack-Middleware-RemoveRedundantBody-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
+BuildRequires: perl(HTTP::Request::Common)
+BuildRequires: perl(parent)
+BuildRequires: perl(Plack::Builder)
+BuildRequires: perl(Plack::Middleware)
+BuildRequires: perl(Plack::Test)
+BuildRequires: perl(Plack::Util)
+BuildRequires: perl(strict)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(warnings)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+This module removes body in HTTP response, if it's not required.
+
+%prep
+%setup -q -n Plack-Middleware-RemoveRedundantBody-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes LICENSE README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Sat Nov 22 2014 David Dick <ddick at cpan.org> - 0.05-1
+- Initial release
diff --git a/sources b/sources
index e69de29..807cb1b 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+71cd1ad993f143820fe8419d90ea298c Plack-Middleware-RemoveRedundantBody-0.05.tar.gz
More information about the scm-commits
mailing list