commit 7cb5e0d4ff556bc4e9792de9b4600b99aa6f4be2
Author: Ralf Corsépius <[email protected]>
Date: Mon Feb 18 11:05:29 2013 +0100
Fix changelog dates (Fedora_19_Mass_Rebuild FTBFS).
- Add perl-Plack-1.0004.patch.
perl-Plack-1.0004.patch | 20 ++++++++++++++++++++
perl-Plack.spec | 14 +++++++++++---
2 files changed, 31 insertions(+), 3 deletions(-)
---
diff --git a/perl-Plack-1.0004.patch b/perl-Plack-1.0004.patch
new file mode 100644
index 0000000..6da579e
--- /dev/null
+++ b/perl-Plack-1.0004.patch
@@ -0,0 +1,20 @@
+diff --git a/t/Plack-Response/compatible.t b/t/Plack-Response/compatible.t
+index 88826d7..befc523 100644
+--- a/t/Plack-Response/compatible.t
++++ b/t/Plack-Response/compatible.t
+@@ -6,15 +6,6 @@ use Plack::Response;
+ {
+ my $res = Plack::Response->new;
+ $res->code(200);
+- $res->header("Foo:Bar" => "baz");
+- $res->body("Hello");
+-
+- is_deeply $res->finalize, [ 200, [ 'Foo:Bar' => 'baz' ], ["Hello"] ];
+-}
+-
+-{
+- my $res = Plack::Response->new;
+- $res->code(200);
+ $res->header("Foo\000Bar" => "baz");
+ $res->header("Qux\177Quux" => "42");
+ $res->body("Hello");
diff --git a/perl-Plack.spec b/perl-Plack.spec
index 8e7e376..d52c207 100644
--- a/perl-Plack.spec
+++ b/perl-Plack.spec
@@ -1,6 +1,6 @@
Name: perl-Plack
Version: 1.0004
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Perl Superglue for Web frameworks and Web Servers (PSGI
toolkit)
License: GPL+ or Artistic
Group: Development/Libraries
@@ -8,6 +8,9 @@ URL: http://search.cpan.org/dist/Plack/
Source0:
http://www.cpan.org/authors/id/M/MI/MIYAGAWA/Plack-%{version}.tar.gz
BuildArch: noarch
+# Upstream bug fix to testsuite breakdown
+Patch0: perl-Plack-1.0004.patch
+
# Building with apache2 tests enabled works in local mocks,
# but fails in Fedora's koji.
# Default to not testing apache2.
@@ -70,6 +73,7 @@ frameworks. Plack is like Ruby's Rack or Python's Paste for
WSGI.
%prep
%setup -q -n Plack-%{version}
+%patch0 -p1
# Fedora's mod_perl.so is under modules/
sed -i -e 's,libexec/apache2/mod_perl.so,modules/mod_perl.so,' \
@@ -110,6 +114,10 @@ make test %{?_with_apache:TEST_APACHE2=1
TEST_FCGI_CLIENT=1}
%{_mandir}/man3/*
%changelog
+* Mon Feb 18 2013 Ralf Corsépius <[email protected]> 1.0004-3
+- Fix changelog dates (Fedora_19_Mass_Rebuild FTBFS).
+- Add perl-Plack-1.0004.patch.
+
* Thu Feb 14 2013 Fedora Release Engineering <[email protected]>
- 1.0004-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
@@ -150,7 +158,7 @@ make test %{?_with_apache:TEST_APACHE2=1 TEST_FCGI_CLIENT=1}
* Sat Nov 26 2011 Ralf Corsépius <[email protected]> 0.9985-1
- Upstream update.
-* Thu Oct 14 2011 Ralf Corsépius <[email protected]> 0.9984-2
+* Fri Oct 14 2011 Ralf Corsépius <[email protected]> 0.9984-2
- Add %%bcond_with apache to work around building failures in koji.
* Thu Oct 13 2011 Ralf Corsépius <[email protected]> 0.9984-1
@@ -193,7 +201,7 @@ make test %{?_with_apache:TEST_APACHE2=1 TEST_FCGI_CLIENT=1}
* Tue Feb 08 2011 Fedora Release Engineering <[email protected]>
- 0.9967-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
-* Tue Jan 26 2011 Ralf Corsépius <[email protected]> 0.9967-1
+* Wed Jan 26 2011 Ralf Corsépius <[email protected]> 0.9967-1
- Upstream update.
* Tue Jan 25 2011 Ralf Corsépius <[email protected]> 0.9964-1
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/perl-devel