[perl-Coro] 6.02 bump
Petr Pisar
ppisar at fedoraproject.org
Fri Jul 29 08:34:15 UTC 2011
commit c2693ce4350566d133c104bbee61db8cb2aa4676
Author: Petr Písař <ppisar at redhat.com>
Date: Fri Jul 29 10:33:53 2011 +0200
6.02 bump
.gitignore | 1 +
perl-Coro.spec | 16 ++++++++++++----
sources | 2 +-
3 files changed, 14 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 149920f..bbfe56e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/Coro-5.26.tar.gz
/Coro-5.37.tar.gz
/Coro-5.372.tar.gz
+/Coro-6.02.tar.gz
diff --git a/perl-Coro.spec b/perl-Coro.spec
index 3d3fa44..2cf9612 100644
--- a/perl-Coro.spec
+++ b/perl-Coro.spec
@@ -1,6 +1,6 @@
Name: perl-Coro
-Version: 5.372
-Release: 4%{?dist}
+Version: 6.02
+Release: 1%{?dist}
Summary: The only real threads in perl
License: GPL+ or Artistic
Group: Development/Libraries
@@ -63,13 +63,16 @@ programming much safer and easier than using other thread models.
%ifnarch %{ix86} x86_64
%patch0 -p1 -b .ucontext-default
%endif
+
+%global wrong_shbangs eg/myhttpd Coro/jit-*.pl
%if 0%{?fix_shbang_line}
-%fix_shbang_line eg/myhttpd
+%fix_shbang_line %wrong_shbangs
%else
# at least EL6 doesn't have the %%fix_shbang_line macro
-sed -i -e '/^#!/ s|.*|#!%{__perl}|' eg/myhttpd
+sed -i -e '/^#!/ s|.*|#!%{__perl}|' %wrong_shbangs
%endif
+
%build
# Interractive configuration. Use default values.
%{__perl} Makefile.PL INSTALLDIRS=perl OPTIMIZE="$RPM_OPT_FLAGS" </dev/null
@@ -96,6 +99,11 @@ make test
%{_mandir}/man3/*
%changelog
+* Fri Jul 29 2011 Petr Pisar <ppisar at redhat.com> - 6.02-1
+- 6.02 bump
+- Major version 6 breaks compatibility: Unreferenced coro objects will now be
+ destroyed and cleaned up automatically (e.g. async { schedule }).
+
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano at redhat.com> - 5.372-4
- Perl mass rebuild
diff --git a/sources b/sources
index 6de0d08..635ee70 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-70c6453f07e991990a00a6ed30db91f4 Coro-5.372.tar.gz
+583d40bdf913103e5d9fa20fb2065404 Coro-6.02.tar.gz
More information about the scm-commits
mailing list