make clean everywhere (relevant), fixes x86_64 build

This commit is contained in:
Tom Callaway 2006-12-21 01:20:05 +00:00
parent cc23d87636
commit 9f6f371313

View File

@ -1,7 +1,7 @@
Summary: The LAPACK libraries for numerical linear algebra. Summary: The LAPACK libraries for numerical linear algebra.
Name: lapack Name: lapack
Version: 3.1.0 Version: 3.1.0
Release: 2%{?dist} Release: 3%{?dist}
License: Freely distributable License: Freely distributable
Group: Development/Libraries Group: Development/Libraries
URL: http://www.netlib.org/lapack/ URL: http://www.netlib.org/lapack/
@ -111,6 +111,7 @@ popd
# Build the shared lapack library # Build the shared lapack library
pushd SRC pushd SRC
make clean
make FFLAGS="$RPM_OPT_FLAGS -fPIC" shared make FFLAGS="$RPM_OPT_FLAGS -fPIC" shared
cp liblapack.so.3.1.0 ${RPM_BUILD_DIR}/%{name}-%{version}/ cp liblapack.so.3.1.0 ${RPM_BUILD_DIR}/%{name}-%{version}/
popd popd
@ -124,6 +125,7 @@ popd
# Build the static with pic lapack library # Build the static with pic lapack library
pushd SRC pushd SRC
make clean
make FFLAGS="$RPM_OPT_FLAGS -fPIC" static make FFLAGS="$RPM_OPT_FLAGS -fPIC" static
cp liblapack.a ${RPM_BUILD_DIR}/%{name}-%{version}/liblapack_pic.a cp liblapack.a ${RPM_BUILD_DIR}/%{name}-%{version}/liblapack_pic.a
popd popd
@ -190,6 +192,9 @@ rm -fr ${RPM_BUILD_ROOT}
%{_libdir}/libblas*.a %{_libdir}/libblas*.a
%changelog %changelog
* Wed Dec 20 2006 Tom "spot" Callaway <tcallawa@redhat.com> 3.1.0-3
- make clean everywhere
* Wed Dec 20 2006 Tom "spot" Callaway <tcallawa@redhat.com> 3.1.0-2 * Wed Dec 20 2006 Tom "spot" Callaway <tcallawa@redhat.com> 3.1.0-2
- fix the Makefiles - fix the Makefiles