diff --git a/sg3_utils.spec b/sg3_utils.spec index d2f4d7b..22a1114 100644 --- a/sg3_utils.spec +++ b/sg3_utils.spec @@ -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 - 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 - 1.17-1.1 - rebuilt for new gcc4.1 snapshot and glibc changes