commit 4dc17fb0450e8bf87a02c77adcf6fc3aec73fa1e Author: David Dick <ddick@xxxxxxxx> Date: Thu Nov 27 06:32:23 2014 +1100 Initial import (#1166923). .gitignore | 1 + ...-Plack-Middleware-FixMissingBodyInRedirect.spec | 52 ++++++++++++++++++++ sources | 1 + 3 files changed, 54 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..f4f4fe6 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Plack-Middleware-FixMissingBodyInRedirect-0.12.tar.gz diff --git a/perl-Plack-Middleware-FixMissingBodyInRedirect.spec b/perl-Plack-Middleware-FixMissingBodyInRedirect.spec new file mode 100644 index 0000000..7ddec66 --- /dev/null +++ b/perl-Plack-Middleware-FixMissingBodyInRedirect.spec @@ -0,0 +1,52 @@ +Name: perl-Plack-Middleware-FixMissingBodyInRedirect +Version: 0.12 +Release: 1%{?dist} +Summary: Plack::Middleware which sets body for redirect response, if it's not already set +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Plack-Middleware-FixMissingBodyInRedirect/ +Source0: http://www.cpan.org/modules/by-module/Plack/Plack-Middleware-FixMissingBodyInRedirect-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl(HTML::Entities) +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(Scalar::Util) +BuildRequires: perl(strict) +BuildRequires: perl(Test::More) +BuildRequires: perl(warnings) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module sets body in redirect response, if it's not already set. + +%prep +%setup -q -n Plack-Middleware-FixMissingBodyInRedirect-%{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@xxxxxxxx> - 0.12-1 +- Initial release diff --git a/sources b/sources index e69de29..fa42ef4 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f570ae069684cfafc099283801ad058d Plack-Middleware-FixMissingBodyInRedirect-0.12.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel