Would this help?

This commit is contained in:
Susi Lehtola 2015-12-23 20:21:37 +01:00
parent 6026e309fe
commit c68c6ebb13

View File

@ -325,11 +325,10 @@ cp -a %{_includedir}/lapacke %{buildroot}%{_includedir}/%{name}
%endif %endif
# Fix name of static library # Fix name of static library
ls -lh %{buildroot}%{_libdir} %ifarch armv7hl
for f in %{buildroot}%{_libdir}/*; do suffix="_armv7"
file $f %endif
done slibname=`basename %{buildroot}%{_libdir}/libopenblas${suffix}-*.so .so`
slibname=`basename %{buildroot}%{_libdir}/libopenblas-*.so .so`
mv %{buildroot}%{_libdir}/${slibname}.a %{buildroot}%{_libdir}/lib%{name}.a mv %{buildroot}%{_libdir}/${slibname}.a %{buildroot}%{_libdir}/lib%{name}.a
# Install the OpenMP library # Install the OpenMP library