SPECS: dLAN.spec - added patch, should build now

shadzik shadzik at pld-linux.org
Thu May 4 03:45:08 CEST 2006


Author: shadzik                      Date: Thu May  4 01:45:07 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added patch, should build now

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

---- Diffs:

================================================================
Index: SPECS/dLAN.spec
diff -u SPECS/dLAN.spec:1.1 SPECS/dLAN.spec:1.2
--- SPECS/dLAN.spec:1.1	Thu May  4 03:02:46 2006
+++ SPECS/dLAN.spec	Thu May  4 03:45:02 2006
@@ -15,6 +15,7 @@
 Group:		Applications
 Source0:	http://download.devolo.net/webcms/0599755001130248395/%{name}-linux-package-%{version}.tar.gz
 # Source0-md5:	419b5e551a7e8eb7e2f609b252287712
+Patch0:		%{name}-usbkill.patch
 URL:		http://www.devolo.de/de_DE/index.html
 BuildRequires:	%{kgcc_package}
 %{?with_dist_kernel:BuildRequires:      kernel-module-build}
@@ -71,6 +72,7 @@
 
 %prep
 %setup -q -n %{name}-linux-package-%{version}
+%patch0 -p1
 
 %build
 %configure
@@ -80,6 +82,7 @@
 
 %if %{with kernel}
 # kernel module(s)
+cd driver
 for cfg in %{?with_dist_kernel:%{?with_smp:smp} up}%{!?with_dist_kernel:nondist}; do
         if [ ! -r "%{_kernelsrcdir}/config-$cfg" ]; then
                 exit 1
@@ -92,7 +95,7 @@
         ln -sf %{_kernelsrcdir}/Module.symvers-$cfg Module.symvers
         touch include/config/MARKER
 
-        %{__make} usbdriver \
+	%{__make} -C %{_kernelsrcdir} modules
                 CC="%{__cc}" CPP="%{__cpp}" \
                 M=$PWD O=$PWD \
                 %{?with_verbose:V=1}
@@ -167,6 +170,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/05/04 01:45:02  shadzik
+- added patch, should build now
+
 Revision 1.1  2006/05/04 01:02:46  shadzik
 - new
 - needs fixing
================================================================

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



More information about the pld-cvs-commit mailing list