--- /dev/null
+--- 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
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
%prep
%setup -q -n pyilmbase-%{version}
+%patch0 -p1
%build
%configure
%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 \