Author: sparky Date: Mon Dec 7 21:01:31 2009 GMT Module: packages Tag: HEAD ---- Log message: - BR: libusb-compat-devel on non-Ac - use rpmldflags
---- Files affected: packages/ibmusbasm: ibmusbasm.spec (1.12 -> 1.13) ---- Diffs: ================================================================ Index: packages/ibmusbasm/ibmusbasm.spec diff -u packages/ibmusbasm/ibmusbasm.spec:1.12 packages/ibmusbasm/ibmusbasm.spec:1.13 --- packages/ibmusbasm/ibmusbasm.spec:1.12 Mon Dec 7 19:23:59 2009 +++ packages/ibmusbasm/ibmusbasm.spec Mon Dec 7 22:01:25 2009 @@ -10,9 +10,13 @@ Group: Applications Source0: ftp://ftp.software.ibm.com/systems/support/system_x/ibm_svc_rsa2_hlp246a_linux_32-64.tgz # Source0-md5: 68ca47671c98a9a174eaf8b31d658272 -Source1: ibmusbasm.init +Source1: %{name}.init URL: http://www-947.ibm.com/systems/support/supportsite.wss/docdisplay?lndocid=MIGR-5071676&brandind=5000008 +%if "%{pld_release}" == "ac" BuildRequires: libusb-devel >= 0.1.6 +%else +BuildRequires: libusb-compat-devel +%endif BuildRequires: rpmbuild(macros) >= 1.228 BuildRequires: sed >= 4.0 Requires(post): /sbin/ldconfig @@ -52,9 +56,13 @@ %build cd ibmusbasm-src/shlib -%{__cc} %{rpmcflags} -D__IBMLINUX__ -fPIC -shared -I ../src -Wl,-soname -Wl,libsysSp.so.1 -o libsysSp.so.1 uwiapi.c +%{__cc} %{rpmcflags} %{rpmldflags} \ + -D__IBMLINUX__ -I ../src \ + -fPIC -shared -Wl,-soname -Wl,libsysSp.so.1 \ + -o libsysSp.so.1 uwiapi.c cd ../src -%{__cc} %{rpmcflags} -I . -o ibmasm ibmasm.c -ldl +%{__cc} %{rpmcflags} %{rpmldflags} \ + -I . -o ibmasm ibmasm.c -ldl %install rm -rf $RPM_BUILD_ROOT @@ -93,6 +101,10 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.13 2009/12/07 21:01:25 sparky +- BR: libusb-compat-devel on non-Ac +- use rpmldflags + Revision 1.12 2009/12/07 18:23:59 glen - release 2 ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ibmusbasm/ibmusbasm.spec?r1=1.12&r2=1.13&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
