SPECS: ibmusbasm.spec - x64 build fix

glen glen at pld-linux.org
Thu Aug 16 15:22:41 CEST 2007


Author: glen                         Date: Thu Aug 16 13:22:41 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- x64  build fix

---- Files affected:
SPECS:
   ibmusbasm.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/ibmusbasm.spec
diff -u SPECS/ibmusbasm.spec:1.1 SPECS/ibmusbasm.spec:1.2
--- SPECS/ibmusbasm.spec:1.1	Thu Aug 16 15:18:33 2007
+++ SPECS/ibmusbasm.spec	Thu Aug 16 15:22:35 2007
@@ -8,6 +8,7 @@
 Source0:	ftp://ftp.software.ibm.com/systems/support/system_x/ibm_svc_rsa2_hlp237a_linux_32-64.tgz
 # Source0-md5:	cf9ff9cdfb702b7c0268fd0bcd29274c
 URL:		http://www.ibm.com
+BuildRequires:	libusb-devel
 BuildRequires:	rpmbuild(macros) >= 1.228
 Requires(post,preun):	/sbin/chkconfig
 Requires:	libusb
@@ -25,12 +26,14 @@
 %setup -qc
 %ifarch %{ix86}
 rpm2cpio SRPMS/ibmusbasm-%{version}-2.src.rpm | cpio -i -d
+%{__tar} zxf ibmusbasm-src.tgz
 %endif
 %ifarch %{x8664}
 rpm2cpio SRPMS/ibmusbasm64-%{version}-2.src.rpm | cpio -i -d
+%{__tar} zxf ibmusbasm64-src.tgz
+mv ibmusbasm{64,}-src
 %endif
-%{__tar} zxf ibmusbasm-src.tgz
-chmod -R a+rX ibmusbasm-src
+%{__chmod} -R a+rX ibmusbasm-src
 
 %build
 cd ibmusbasm-src/shlib
@@ -68,6 +71,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007/08/16 13:22:35  glen
+- x64  build fix
+
 Revision 1.1  2007/08/16 13:18:33  glen
 - new
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ibmusbasm.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list