commit 48fd25e0f85c0af1fb836c4f093b0861de20cbc6 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Sat Jun 9 09:29:09 2012 -0600 initial import (rhbz#823180) .gitignore | 1 + perl-Plack-Middleware-ForceEnv.spec | 53 +++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 55 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..e4fb000 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Plack-Middleware-ForceEnv-0.02.tar.gz diff --git a/perl-Plack-Middleware-ForceEnv.spec b/perl-Plack-Middleware-ForceEnv.spec new file mode 100644 index 0000000..6867567 --- /dev/null +++ b/perl-Plack-Middleware-ForceEnv.spec @@ -0,0 +1,53 @@ +Name: perl-Plack-Middleware-ForceEnv +Version: 0.02 +Release: 2%{?dist} +Summary: Force set environment variables for testing +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Plack-Middleware-ForceEnv/ +Source0: http://www.cpan.org/authors/id/T/TS/TSIBLEY/Plack-Middleware-ForceEnv-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(inc::Module::Install) +BuildRequires: perl(HTTP::Request::Common) +BuildRequires: perl(Plack) >= 0.9925 +BuildRequires: perl(Plack::Builder) +BuildRequires: perl(Plack::Test) +BuildRequires: perl(Test::More) +Requires: perl(Plack) >= 0.9925 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +ForceEnv modifies the environment passed to the application by adding your +specified key value pairs. This is primarily useful when testing apps under +plackup (or similar) in a development environment. + +%prep +%setup -q -n Plack-Middleware-ForceEnv-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor --skipdeps +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} + +find %{buildroot} -type f -name .packlist -exec rm -f {} \; + +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%doc README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Sat May 26 2012 Iain Arnell <iarnell@xxxxxxxxx> 0.02-2 +- BuildRequire inc::Module::Install, not EU::MM + +* Sat May 19 2012 Iain Arnell <iarnell@xxxxxxxxx> 0.02-1 +- Specfile autogenerated by cpanspec 1.79. diff --git a/sources b/sources index e69de29..b6336d5 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +500f2d7ea6ce525b789f533deaca93cb Plack-Middleware-ForceEnv-0.02.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