From: cieciwa Date: Wed, 29 Jun 2005 10:17:15 +0000 (+0000) Subject: - updated again. X-Git-Tag: auto/th/linux-gpib-4.0.3-1~22 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=df4c06e8cc62635c36379ae2b3b678d0c33e8324;p=packages%2Flinux-gpib.git - updated again. Changed files: linux-gpib.spec -> 1.3 --- diff --git a/linux-gpib.spec b/linux-gpib.spec index 206d3a5..ab4c690 100644 --- a/linux-gpib.spec +++ b/linux-gpib.spec @@ -110,13 +110,15 @@ Ten pakiet zawiera modu --disable-tcl-binding \ --disable-documentation -%{__make} +##%{__make} %if %{with userspace} %endif - +cd driver +for i in agilent_82350b agilent_82357a cb7210 cec hp82335 hp_82341 ines nec7210 pc2 sys tms9914 tnt4882; do +cd $i %if %{with kernel} # kernel module(s) for cfg in %{?with_dist_kernel:%{?with_smp:smp} up}%{!?with_dist_kernel:nondist}; do @@ -131,6 +133,10 @@ for cfg in %{?with_dist_kernel:%{?with_smp:smp} up}%{!?with_dist_kernel:nondist} touch include/config/MARKER # # patching/creating makefile(s) (optional) + cp -rdp ../include/* include + install -d include/gpib + cp -rdp include/gpib_user.h include/gpib + cp -rdp ../../config.h include # %{__make} -C %{_kernelsrcdir} clean \ RCS_FIND_IGNORE="-name '*.ko' -o" \ @@ -140,10 +146,13 @@ for cfg in %{?with_dist_kernel:%{?with_smp:smp} up}%{!?with_dist_kernel:nondist} CC="%{__cc}" CPP="%{__cpp}" \ M=$PWD O=$PWD \ %{?with_verbose:V=1} + -## mv MODULE_NAME{,-$cfg}.ko + mv $i{,-$cfg}.ko +done +%endif +cd .. done -%endif %install rm -rf $RPM_BUILD_ROOT