SPECS: kernel-net-atl2.spec - updated to 2.0.4, works
hawk
hawk at pld-linux.org
Fri Feb 22 14:08:21 CET 2008
Author: hawk Date: Fri Feb 22 13:08:21 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated to 2.0.4, works
---- Files affected:
SPECS:
kernel-net-atl2.spec (1.8 -> 1.9)
---- Diffs:
================================================================
Index: SPECS/kernel-net-atl2.spec
diff -u SPECS/kernel-net-atl2.spec:1.8 SPECS/kernel-net-atl2.spec:1.9
--- SPECS/kernel-net-atl2.spec:1.8 Mon Aug 27 00:24:25 2007
+++ SPECS/kernel-net-atl2.spec Fri Feb 22 14:08:16 2008
@@ -8,13 +8,12 @@
Summary: Attansic(R) L2 Fast Ethernet Adapter driver for Linux
Summary(pl.UTF-8): Sterownik do kart Attansic(R) L2 Fast Ethernet Adapter
Name: kernel%{_alt_kernel}-net-atl2
-Version: 1.4.0.20
+Version: 2.0.4
Release: %{_rel}@%{_kernel_ver_str}
License: GPL v2
Group: Base/Kernel
-Source0: http://starowa.one.pl/~uzi/pld/atl2-%{version}.tar.gz
-# Source0-md5: 196771fa8e7164d4c9beabcfdf4058b5
-Patch0: kernel-net-atl2-build.patch
+Source0: http://people.redhat.com/csnook/atl2/atl2-%{version}.tar.bz2
+# Source0-md5: 22b22dc9d45b85549b002cf152c8ac27
URL: http://www.attansic.com/
%{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20.2}
BuildRequires: rpmbuild(macros) >= 1.379
@@ -35,19 +34,13 @@
%prep
%setup -q -n atl2-%{version}
-%patch0 -p1
-
-cat > src/Makefile <<'EOF'
-obj-m := atl2.o
-atl2-objs := at_main.o at_hw.o at_param.o at_ethtool.o kcompat.o
-EOF
%build
-%build_kernel_modules -C src -m atl2 EXTRA_CFLAGS="-DDBG=0"
+%build_kernel_modules -m atl2 EXTRA_CFLAGS="-DDBG=0"
%install
rm -rf $RPM_BUILD_ROOT
-%install_kernel_modules -m src/atl2 -d kernel/drivers/net
+%install_kernel_modules -m atl2 -d kernel/drivers/net
%clean
rm -rf $RPM_BUILD_ROOT
@@ -60,7 +53,6 @@
%files
%defattr(644,root,root,755)
-%doc atl2.7 COPYING readme release_note.txt ldistrib.txt
/lib/modules/%{_kernel_ver}/kernel/drivers/net/atl2*.ko*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -69,6 +61,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.9 2008-02-22 13:08:16 hawk
+- updated to 2.0.4, works
+
Revision 1.8 2007-08-26 22:24:25 shadzik
- cosmetics
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/kernel-net-atl2.spec?r1=1.8&r2=1.9&f=u
More information about the pld-cvs-commit
mailing list