[perl-threads-tbb] Work around CCFLAGS bug in EU::MM (RT#68613)

Petr Pisar ppisar at fedoraproject.org
Tue Jul 26 16:56:28 UTC 2011


commit b1843f232e20a74c1624ca7b97fa02eb858be583
Author: Petr Písař <ppisar at redhat.com>
Date:   Tue Jul 26 18:56:02 2011 +0200

    Work around CCFLAGS bug in EU::MM (RT#68613)

 perl-threads-tbb.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/perl-threads-tbb.spec b/perl-threads-tbb.spec
index 403d92b..97ae189 100644
--- a/perl-threads-tbb.spec
+++ b/perl-threads-tbb.spec
@@ -1,7 +1,7 @@
 # This file is licensed under the terms of GPLv2+.
 Name:           perl-threads-tbb
 Version:        0.04
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Interface to the Threading Building Blocks (TBB) API
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -36,6 +36,8 @@ data parallelism.
 
 %prep
 %setup -q -n threads-tbb-%{version}
+# Work around CCFLAGS bug in EU::MM (RT#68613)
+sed -i -e '/CCFLAGS/ s/\(=>\)/\1 "$Config{ccflags} " ./' Makefile.PL
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
@@ -59,6 +61,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jul 26 2011 Petr Pisar <ppisar at redhat.com> - 0.04-4
+- Work around CCFLAGS bug in EU::MM (RT#68613)
+
 * Thu Jul 21 2011 Petr Sabata <contyk at redhat.com> - 0.04-3
 - Perl mass rebuild
 


More information about the scm-commits mailing list