From d6301acf388ae793d694cc952c08ef19bae06dfa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corse...@fedoraproject.org>
Date: Thu, 1 Dec 2016 06:32:13 +0100
Subject: Update to 1.0042 (RHBZ#1382923).

- Spec cleanup.
---
 .gitignore      |  2 +-
 perl-Plack.spec | 32 ++++++++++++++------------------
 sources         |  2 +-
 3 files changed, 16 insertions(+), 20 deletions(-)

diff --git a/.gitignore b/.gitignore
index 983fe36..a13cbc1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/Plack-1.0039.tar.gz
+/Plack-1.0042.tar.gz
diff --git a/perl-Plack.spec b/perl-Plack.spec
index ec474b4..a119a3b 100644
--- a/perl-Plack.spec
+++ b/perl-Plack.spec
@@ -1,6 +1,6 @@
 Name:           perl-Plack
-Version:        1.0039
-Release:        2%{?dist}
+Version:        1.0042
+Release:        1%{?dist}
 Summary:        Perl Superglue for Web frameworks and Web Servers (PSGI 
toolkit)
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -8,20 +8,18 @@ URL:            http://search.cpan.org/dist/Plack/
 Source0:        
http://www.cpan.org/authors/id/M/MI/MIYAGAWA/Plack-%{version}.tar.gz
 BuildArch:      noarch
 
-# Building with apache2 tests enabled
+# Build with apache2 tests enabled
 # - works in local mocks, but fails in Fedora's koji.
-# - requires customize apache setup with apache >= 2.4.
+# - requires customized apache setup with apache >= 2.4.
 # Default to not testing apache2.
 %bcond_with apache
 
+BuildRequires:  %{__make}
+BuildRequires:  %{__perl}
+
 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
@@ -32,11 +30,7 @@ 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)
@@ -45,9 +39,7 @@ 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)
@@ -110,14 +102,14 @@ t/Plack-Handler/apache2.t 
t/Plack-Handler/apache2-registry.t
 # --skipdeps causes ExtUtils::AutoInstall not to try auto-installing
 # missing modules
 %{__perl} Makefile.PL INSTALLDIRS=vendor --skipdeps NO_PACKLIST=1
-make %{?_smp_mflags}
+%{__make} %{?_smp_mflags}
 
 %install
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+%{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
-make test %{?_with_apache:TEST_APACHE2=1 TEST_FCGI_CLIENT=1}
+%{__make} test %{?_with_apache:TEST_APACHE2=1 TEST_FCGI_CLIENT=1}
 
 %files
 %doc Changes README
@@ -148,6 +140,10 @@ make test %{?_with_apache:TEST_APACHE2=1 
TEST_FCGI_CLIENT=1}
 %exclude %{perl_vendorlib}/auto/share/dist/Plack/#foo
 
 %changelog
+* Thu Dec 01 2016 Ralf Corsépius <corse...@fedoraproject.org> - 1.0042-1
+- Update to 1.0042 (RHBZ#1382923).
+- Spec cleanup.
+
 * Sat Oct 08 2016 Ralf Corsépius <corse...@fedoraproject.org> - 1.0039-2
 - Preps for Plack-1.0042.
 
diff --git a/sources b/sources
index ef6a3c8..2a17698 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3e306fcf4e1a4563a467608c29ae79cc  Plack-1.0039.tar.gz
+c7538f04b36fac62879ff6172b4a85d7  Plack-1.0042.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Plack.git/commit/?h=master&id=d6301acf388ae793d694cc952c08ef19bae06dfa
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to