[packages/python-pyilmbase] - added link patch, make install -j1 (parallel install fails)

qboosh qboosh at pld-linux.org
Fri Mar 29 12:25:47 CET 2013


commit 50d76b165dbc7f9fd045fba0a415760e15268bf8
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Mar 29 12:25:55 2013 +0100

    - added link patch, make install -j1 (parallel install fails)

 python-pyilmbase-link.patch | 11 +++++++++++
 python-pyilmbase.spec       |  5 ++++-
 2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/python-pyilmbase.spec b/python-pyilmbase.spec
index 2dd4324..44ccac4 100644
--- a/python-pyilmbase.spec
+++ b/python-pyilmbase.spec
@@ -7,6 +7,7 @@ License:	BSD
 Group:		Libraries/Python
 Source0:	http://download.savannah.gnu.org/releases/openexr/pyilmbase-%{version}.tar.gz
 # Source0-md5:	4585eba94a82f0b0916445990a47d143
+Patch0:		%{name}-link.patch
 URL:		http://www.openexr.com/
 BuildRequires:	boost-python-devel
 BuildRequires:	ilmbase-devel >= 2.0.0
@@ -41,6 +42,7 @@ Pliki nagłówkowe wiązań Pyhona do bibliotek IlmBase.
 
 %prep
 %setup -q -n pyilmbase-%{version}
+%patch0 -p1
 
 %build
 %configure
@@ -50,7 +52,8 @@ Pliki nagłówkowe wiązań Pyhona do bibliotek IlmBase.
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
+# parallel build fails at libPyImath/imathmodule install
+%{__make} -j1 install \
 	DESTDIR=$RPM_BUILD_ROOT
 
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libPy*.la \
diff --git a/python-pyilmbase-link.patch b/python-pyilmbase-link.patch
new file mode 100644
index 0000000..d325e5a
--- /dev/null
+++ b/python-pyilmbase-link.patch
@@ -0,0 +1,11 @@
+--- pyilmbase-2.0.0/PyImath/Makefile.am.orig	2013-02-01 21:04:54.000000000 +0100
++++ pyilmbase-2.0.0/PyImath/Makefile.am	2013-03-29 11:40:21.833417739 +0100
+@@ -80,7 +80,7 @@
+     PyImathBasicTypes.cpp 
+ 
+ imathmodule_la_LDFLAGS = -avoid-version -module
+-imathmodule_la_LIBADD  = -lPyImath @BOOST_PYTHON_LIBS@
++imathmodule_la_LIBADD  = libPyImath.la @BOOST_PYTHON_LIBS@
+ 
+ noinst_HEADERS = PyImathFun.h \
+     PyImathBasicTypes.h 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pyilmbase.git/commitdiff/50d76b165dbc7f9fd045fba0a415760e15268bf8



More information about the pld-cvs-commit mailing list