From 98a2f0ee3d98613340314ba8824f5f32ae0a5100 Mon Sep 17 00:00:00 2001 From: Susi Lehtola Date: Wed, 23 Dec 2015 22:15:28 +0100 Subject: [PATCH] Suffix on ppc. --- openblas.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openblas.spec b/openblas.spec index 5877257..e94e8a1 100644 --- a/openblas.spec +++ b/openblas.spec @@ -331,6 +331,9 @@ cp -a %{_includedir}/lapacke %{buildroot}%{_includedir}/%{name} %ifarch armv7hl suffix="_armv7" %endif +%ifarch ppc64le +suffix="_power6" +%endif slibname=`basename %{buildroot}%{_libdir}/libopenblas${suffix}-*.so .so` mv %{buildroot}%{_libdir}/${slibname}.a %{buildroot}%{_libdir}/lib%{name}.a if [[ "$suffix" != "" ]]; then