Change to %ifarch i586

This commit is contained in:
Deji Akingunola 2009-02-23 11:01:40 +00:00
parent 5dd60cd368
commit 87a6bb5430
1 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ with ATLAS (Automatically Tuned Linear Algebra Software).
# Because a set of ATLAS libraries is a ~5 MB package, separate packages
# are created for SSE, SSE2, and SSE3 extensions to ix86.
%ifarch i386
%ifarch i586
%define types sse sse2 sse3
%package sse
@ -184,7 +184,7 @@ for type in %{types}; do
> %{buildroot}/etc/ld.so.conf.d/atlas-${type}.conf
fi
done
%ifarch i386 && %if "%{?enable_native_atlas}" == "0"
%ifarch i586 && %if "%{?enable_native_atlas}" == "0"
cp -pr %{buildroot}%{_libdir}/atlas-sse2 %{buildroot}%{_libdir}/atlas
echo "%{_libdir}/atlas" >> %{buildroot}/etc/ld.so.conf.d/atlas-sse2.conf
%endif
@ -192,7 +192,7 @@ echo "%{_libdir}/atlas" >> %{buildroot}/etc/ld.so.conf.d/atlas-sse2.conf
%clean
rm -rf %{buildroot}
%ifnarch i386 || %if "%{?enable_native_atlas}" == "1"
%ifnarch i586 || %if "%{?enable_native_atlas}" == "1"
%post -p /sbin/ldconfig