]> git.pld-linux.org Git - packages/atl2.git/blobdiff - atl2.spec
- kill useless P and O
[packages/atl2.git] / atl2.spec
index 56cf7b3d67e341f4325416389ab8366ab3fe05f1..c61fafa235cde74e459fe23044d8142052bb27c1 100644 (file)
--- a/atl2.spec
+++ b/atl2.spec
@@ -21,9 +21,6 @@ Requires(post,postun):        /sbin/depmod
 %requires_releq_kernel
 Requires(postun):      %releq_kernel
 %endif
-Provides:      kernel(atl2)
-Obsoletes:     atl2
-Obsoletes:     linux-net-atl2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -38,9 +35,8 @@ Attansic(R) L2 Fast Ethernet Adapter.
 %setup -q -n atl2-%{version}
 
 cat > src/Makefile <<'EOF'
-CFILES = at_main.c at_hw.c at_param.c at_ethtool.c kcompat.c  
 obj-m := atl2.o
-atl2-objs := $(CFILES:.c=.o)
+atl2-objs := at_main.o at_hw.o at_param.o at_ethtool.o kcompat.o
 EOF
 
 %build
@@ -48,7 +44,7 @@ EOF
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%install_kernel_modules -m src/atl2 -d kernel/drivers/net 
+%install_kernel_modules -m src/atl2 -d kernel/drivers/net
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.080906 seconds and 4 git commands to generate.