diff --git a/vtk.spec b/vtk.spec index bb2e72a..cafb2cd 100644 --- a/vtk.spec +++ b/vtk.spec @@ -131,7 +131,11 @@ make install # python stuff is installed in the wrong directory /usr/local # http://www.vtk.org/Bug/view.php?id=4010 -mv $RPM_BUILD_ROOT%{_prefix}/local/%{_libexec}/python* $RPM_BUILD_ROOT%{_libexec}/ +%if %_suse_version <= 1110 +mv $RPM_BUILD_ROOT%{_prefix}/local/%{_lib}/python* $RPM_BUILD_ROOT%{_libdir}/ +%else +mv $RPM_BUILD_ROOT%{_prefix}/local/lib/python* $RPM_BUILD_ROOT/%_prefix/lib +%endif # install testing-progs and examples find bin -type f | egrep -v '\.' > bin-progs-list