diff --git a/openblas.spec b/openblas.spec index a64a534..d6f860d 100644 --- a/openblas.spec +++ b/openblas.spec @@ -325,7 +325,10 @@ cp -a %{_includedir}/lapacke %{buildroot}%{_includedir}/%{name} %endif # Fix name of static library -ls %{buildroot}%{_libdir} +ls -lh %{buildroot}%{_libdir} +for f in %{buildroot}%{_libdir}/*; do + file $f +done slibname=`basename %{buildroot}%{_libdir}/libopenblas-*.so .so` mv %{buildroot}%{_libdir}/${slibname}.a %{buildroot}%{_libdir}/lib%{name}.a