rpms/sg3_utils/devel sg3_utils.spec,1.10,1.11

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Feb 10 11:41:13 UTC 2006


Author: pknirsch

Update of /cvs/dist/rpms/sg3_utils/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv12125

Modified Files:
	sg3_utils.spec 
Log Message:
- Fixed rebuild problem on 64bit archs.



Index: sg3_utils.spec
===================================================================
RCS file: /cvs/dist/rpms/sg3_utils/devel/sg3_utils.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- sg3_utils.spec	10 Feb 2006 11:33:21 -0000	1.10
+++ sg3_utils.spec	10 Feb 2006 11:41:11 -0000	1.11
@@ -49,8 +49,11 @@
 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 @@
  
 %changelog
 * Fri Feb 10 2006 Phil Knirsch <pknirsch at 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 at redhat.com> - 1.17-1.1
 - rebuilt for new gcc4.1 snapshot and glibc changes




More information about the fedora-cvs-commits mailing list