- added link patch, make install -j1 (parallel install fails)
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 29 Mar 2013 11:25:55 +0000 (12:25 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 29 Mar 2013 11:25:55 +0000 (12:25 +0100)
python-pyilmbase-link.patch [new file with mode: 0644]
python-pyilmbase.spec

diff --git a/python-pyilmbase-link.patch b/python-pyilmbase-link.patch
new file mode 100644 (file)
index 0000000..d325e5a
--- /dev/null
@@ -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 
index 2dd4324054681d7baf40759a4b86fb14a180a5a8..44ccac4dc6d1750d0112937c7aed30b228b869f0 100644 (file)
@@ -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 \
This page took 0.084548 seconds and 4 git commands to generate.