File octave.spec.patch of Package octave

--- octave.spec	2008-07-23 08:37:04.000000000 -0700
+++ octave.spec.new	2008-07-23 08:45:59.000000000 -0700
@@ -68,7 +68,15 @@
 
 %build
 export CPPFLAGS="-DH5_USE_16_API"
-%configure --libexecdir=%{_libdir}
+%if 0%{?suse_version} < 1020 
+  %ifarch x86_64
+    %configure --with-fPIC --libexecdir=%{_libdir}
+  %else
+    %configure --libexecdir=%{_libdir}
+  %endif
+%else
+  %configure --libexecdir=%{_libdir}
+%endif
 %{__make}
 
 %install
openSUSE Build Service is sponsored by