commit 0d536279761f525793538ab276bd8023be494083 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Mon Oct 22 15:21:02 2012 +0200 Unbundle libecb perl-Coro.spec | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) --- diff --git a/perl-Coro.spec b/perl-Coro.spec index 89b4844..50a855d 100644 --- a/perl-Coro.spec +++ b/perl-Coro.spec @@ -1,12 +1,13 @@ Name: perl-Coro Version: 6.10 -Release: 1%{?dist} +Release: 2%{?dist} Summary: The only real threads in perl License: GPL+ or Artistic 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 +BuildRequires: libecb BuildRequires: perl(AnyEvent) >= 5 BuildRequires: perl(base) BuildRequires: perl(Carp) @@ -34,6 +35,7 @@ Requires: perl(EV) >= 3 Requires: perl(Event) >= 1.08 Requires: perl(Guard) >= 0.5 Requires: perl(Storable) >= 2.15 +Provides: bundled(libecb) = %(rpm -q libecb --qf '%{VERSION}') # RPM 4.8 style: # Filter underspecified dependencies @@ -78,6 +80,11 @@ programming much safer and easier than using other thread models. %prep %setup -q -n Coro-%{version} +# Unbundle libecb +rm Coro/ecb.h +sed -i '/^Coro\/ecb\.h$/d' MANIFEST +sed -i 's/ecb\.h//' Coro/Makefile.PL + # use ucontext backend on non-x86 (setjmp didn't work on s390(x)) %ifnarch %{ix86} x86_64 %{arm} %patch0 -p1 -b .ucontext-default @@ -127,6 +134,9 @@ make test %{_mandir}/man3/* %changelog +* Mon Oct 22 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 6.10-2 +- Unbundle libecb (bug #863988) + * Fri Oct 12 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 6.10-1 - 6.10 bump -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel