[perl-Coro/f18] Unbundle libecb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 098ce20e22f611019f9c180b323fda2d6074d0c5
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Mon Oct 22 15:21:02 2012 +0200

    Unbundle libecb

 Coro-6.09-Fix-a-typo-in-ecb.h.patch |   27 ---------------------------
 perl-Coro.spec                      |   12 ++++++++++--
 2 files changed, 10 insertions(+), 29 deletions(-)
---
diff --git a/perl-Coro.spec b/perl-Coro.spec
index 9363870..75fbddb 100644
--- a/perl-Coro.spec
+++ b/perl-Coro.spec
@@ -7,8 +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
-# Bug #863991, CPAN RT #80056
-Patch1:         Coro-6.09-Fix-a-typo-in-ecb.h.patch
+BuildRequires:  libecb
 BuildRequires:  perl(AnyEvent) >= 5
 BuildRequires:  perl(base)
 BuildRequires:  perl(Carp)
@@ -36,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}' 2>/dev/null)
 
 # RPM 4.8 style:
 # Filter underspecified dependencies
@@ -80,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
@@ -130,6 +135,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Mon Oct 22 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 6.09-2
+- Unbundle libecb (bug #863988)
+
 * Mon Oct 08 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 6.09-2
 - Fix building on big endian system (bug #863991)
 
--
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



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux