From c2693ce4350566d133c104bbee61db8cb2aa4676 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <[email protected]>
Date: Fri, 29 Jul 2011 10:33:53 +0200
Subject: 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 <[email protected]> - 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á <[email protected]> - 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
-- 
cgit v0.12


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

Reply via email to