Only one underscore necessary.

This commit is contained in:
Susi Lehtola 2018-07-23 10:47:32 +02:00
parent 0e4914d7aa
commit 3ede871da1

View File

@ -461,7 +461,7 @@ suffix="_power8"
suffix="_armv8" suffix="_armv8"
%endif %endif
%ifarch s390x %ifarch s390x
suffix="__z13" suffix="_z13"
%endif %endif
slibname=`basename %{buildroot}%{_libdir}/libopenblas${suffix}-*.so .so` slibname=`basename %{buildroot}%{_libdir}/libopenblas${suffix}-*.so .so`
mv %{buildroot}%{_libdir}/${slibname}.a %{buildroot}%{_libdir}/lib%{name}.a mv %{buildroot}%{_libdir}/${slibname}.a %{buildroot}%{_libdir}/lib%{name}.a