From 98f6f8c8cd29c16a986ebf00cefbb052ab8e4a0d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <[email protected]>
Date: Sat, 8 Oct 2016 08:31:15 +0200
Subject: Preps for Plack-1.0042.

---
 perl-Plack.spec | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/perl-Plack.spec b/perl-Plack.spec
index d10f489..d2aded9 100644
--- a/perl-Plack.spec
+++ b/perl-Plack.spec
@@ -1,6 +1,6 @@
 Name:           perl-Plack
 Version:        1.0039
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Perl Superglue for Web frameworks and Web Servers (PSGI 
toolkit)
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -15,8 +15,13 @@ BuildArch:      noarch
 %bcond_with apache
 
 BuildRequires:  perl-generators
+%if "%{version}" > "1.0039"
+BuildRequires:  perl(Apache::LogFormat::Compiler) >= 0.33
+BuildRequires:  perl(Cookie::Baker) >= 0.07
+%else
 BuildRequires:  perl(Apache::LogFormat::Compiler) >= 0.12
 BuildRequires:  perl(Cookie::Baker) >= 0.05
+%endif
 BuildRequires:  perl(Devel::StackTrace) >= 1.23
 BuildRequires:  perl(Devel::StackTrace::AsHTML) >= 0.11
 BuildRequires:  perl(Devel::StackTrace::WithLexicals) >= 0.8
@@ -27,7 +32,11 @@ BuildRequires:  perl(Filesys::Notify::Simple)
 BuildRequires:  perl(Hash::MultiValue) >= 0.05
 BuildRequires:  perl(HTTP::Headers::Fast) >= 0.18
 
+%if "%{version}" > "1.0039"
+BuildRequires:  perl(HTTP::Entity::Parser) >= 0.17
+%else
 BuildRequires:  perl(HTTP::Body) >= 1.06
+%endif
 BuildRequires:  perl(HTTP::Message) >= 5.814
 BuildRequires:  perl(HTTP::Tiny) >= 0.03
 BuildRequires:  perl(parent)
@@ -36,6 +45,9 @@ BuildRequires:  perl(Stream::Buffered) >= 0.02
 BuildRequires:  perl(Test::TCP) >= 2.00
 BuildRequires:  perl(Try::Tiny)
 BuildRequires:  perl(URI) >= 1.59
+%if "%{version}" > "1.0039"
+BuildRequires:  perl(WWW::Form::UrlEncoded) >= 0.23
+%endif
 
 # tests
 BuildRequires:  perl(Authen::Simple::Adapter)
@@ -136,6 +148,9 @@ make test %{?_with_apache:TEST_APACHE2=1 TEST_FCGI_CLIENT=1}
 %exclude %{perl_vendorlib}/auto/share/dist/Plack/#foo
 
 %changelog
+* Sat Oct 08 2016 Ralf Corsépius <[email protected]> - 1.0039-2
+- Preps for Plack-1.0042.
+
 * Sat Jun 04 2016 Ralf Corsépius <[email protected]> - 1.0039-1
 - Update to 1.0039.
 - Cleanup BRs.
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Plack.git/commit/?h=f24&id=98f6f8c8cd29c16a986ebf00cefbb052ab8e4a0d
_______________________________________________
perl-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to