From eac5424198fc99e993603e14b61a201f086b772bb60d7fcfb44ee2798cef68f6 Mon Sep 17 00:00:00 2001 From: andrea florio Date: Sun, 8 Nov 2009 21:22:56 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=14 --- vtk.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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