- Fixed rebuild problem on 64bit archs.

This commit is contained in:
Phil Knirsch 2006-02-10 11:41:11 +00:00
parent e584f67bf9
commit 6e6d1205a3

View File

@ -49,8 +49,11 @@ make
if [ "$RPM_BUILD_ROOT" != "/" ]; then
rm -rf $RPM_BUILD_ROOT
fi
%makeinstall
#make install PREFIX=$RPM_BUILD_ROOT/usr
%ifarch sparc64 ppc64 s390x x86_64
make install PREFIX=$RPM_BUILD_ROOT/usr LIBDIR=$RPM_BUILD_ROOT/usr/lib64
%else
make install PREFIX=$RPM_BUILD_ROOT/usr
%endif
%clean
rm -rf $RPM_BUILD_ROOT
@ -74,7 +77,8 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Feb 10 2006 Phil Knirsch <pknirsch@redhat.com> - 1.19-1
- Update to sg3_utils-1.19
- Update to sg3_utils-1.19.
- Fixed rebuild problem on 64bit archs.
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.17-1.1
- rebuilt for new gcc4.1 snapshot and glibc changes