Remove the *.a file from buildroot!

This commit is contained in:
Deji Akingunola 2010-01-29 17:02:02 +00:00
parent 97c4c3ae38
commit d9b7c3f4a6
1 changed files with 2 additions and 0 deletions

View File

@ -210,8 +210,10 @@ for type in %{types}; do
mv %{buildroot}%{_includedir}/atlas %{buildroot}%{_includedir}/atlas-%{_arch}-${type}
if [ "$type" = "base" ]; then
cp -pr lib/*.so* %{buildroot}%{_libdir}/atlas/
rm -f %{buildroot}%{_libdir}/atlas/*.a
else
cp -pr lib/*.so* %{buildroot}%{_libdir}/atlas-${type}/
rm -f %{buildroot}%{_libdir}/atlas-${type}/*.a
fi
popd