commit 1285f98b06408386236a3dbb1b261c9e4af55290
Author: Petr Písař <[email protected]>
Date: Mon Feb 21 11:45:56 2011 +0100
5.37 bump
.gitignore | 1 +
...Fix-syntax-error-RT-65991-in-5.37-version.patch | 26 ++++++++++++++++++++
perl-Coro.spec | 11 +++++++-
sources | 2 +-
4 files changed, 38 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 97bc81c..6447f66 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/Coro-5.25.tar.gz
/Coro-5.26.tar.gz
+/Coro-5.37.tar.gz
diff --git a/perl-Coro-5.37-Fix-syntax-error-RT-65991-in-5.37-version.patch
b/perl-Coro-5.37-Fix-syntax-error-RT-65991-in-5.37-version.patch
new file mode 100644
index 0000000..a5fd6b2
--- /dev/null
+++ b/perl-Coro-5.37-Fix-syntax-error-RT-65991-in-5.37-version.patch
@@ -0,0 +1,26 @@
+From cfd11dcbf0ae1db1b2bfd75f69de6613d837cf7e Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <[email protected]>
+Date: Mon, 21 Feb 2011 11:26:44 +0100
+Subject: [PATCH] Fix syntax error RT#65991 in 5.37 version
+
+https://rt.cpan.org/Public/Bug/Display.html?id=65991
+---
+ Coro/State.xs | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/Coro/State.xs b/Coro/State.xs
+index 4d06eb2..1efe3cc 100644
+--- a/Coro/State.xs
++++ b/Coro/State.xs
+@@ -321,7 +321,7 @@ coro_pp_sselect (pTHX)
+ #ifdef HAS_GETTIMEOFDAY
+
+ static void
+-coro_u2time (aTHX_ UV ret[2])
++coro_u2time (pTHX_ UV ret[2])
+ {
+ struct timeval tv;
+ gettimeofday (&tv, 0);
+--
+1.7.4
+
diff --git a/perl-Coro.spec b/perl-Coro.spec
index b513a63..90314eb 100644
--- a/perl-Coro.spec
+++ b/perl-Coro.spec
@@ -1,5 +1,5 @@
Name: perl-Coro
-Version: 5.26
+Version: 5.37
Release: 1%{?dist}
Summary: The only real threads in perl
License: GPL+ or Artistic
@@ -7,6 +7,7 @@ Group: Development/Libraries
URL: http://search.cpan.org/dist/Coro/
Source0:
http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/Coro-%{version}.tar.gz
Patch0: %{name}-5.25-ucontext-default.patch
+Patch1: %{name}-5.37-Fix-syntax-error-RT-65991-in-5.37-version.patch
BuildRequires: perl(AnyEvent) >= 5
BuildRequires: perl(common::sense)
BuildRequires: perl(ExtUtils::MakeMaker)
@@ -40,6 +41,8 @@ Requires: perl(Storable) >= 2.15
%filter_from_requires /^perl(Guard)$/d
%filter_from_requires /^perl(Storable)$/d
%filter_from_provides /^perl(Coro)$/d
+# Version unversioned Provides
+%filter_from_provides s/^\(perl(Coro\>[^=]*\)$/\1 = %{version}/
%{?perl_default_filter}
%description
@@ -59,6 +62,7 @@ programming much safer and easier than using other thread
models.
%ifnarch %{ix86} x86_64
%patch0 -p1 -b .ucontext-default
%endif
+%patch1 -p1 -b .syntax
%if 0%{?fix_shbang_line}
%fix_shbang_line eg/myhttpd
%else
@@ -92,6 +96,11 @@ make test
%{_mandir}/man3/*
%changelog
+* Mon Feb 21 2011 Petr Pisar <[email protected]> - 5.37-1
+- 5.37 bump
+- Fix State.xs syntax (RT#65991)
+- Version unversioned Provides
+
* Mon Feb 14 2011 Petr Pisar <[email protected]> - 5.26-1
- 5.26 bump
diff --git a/sources b/sources
index 85f7329..8ce752c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-96161bae337944c6bdd2b9b5fb811a6f Coro-5.26.tar.gz
+f644de75d65c0dacadea04146ce8329f Coro-5.37.tar.gz
--
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