]> git.pld-linux.org Git - packages/e1000.git/commitdiff
- without up bcond
authorsparky <sparky@pld-linux.org>
Tue, 27 Feb 2007 16:52:59 +0000 (16:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- fixed %files for smp-only

Changed files:
    e1000.spec -> 1.61

e1000.spec

index e008462a1cbdc39ba3a44965ab027b628a67546d..f939f052a65afde8866a1d515cf77bc8fc0bca08 100644 (file)
@@ -1,6 +1,7 @@
 #
 # Conditional build:
 %bcond_without dist_kernel     # allow non-distribution kernel
+%bcond_without up              # don't build UP module
 %bcond_without smp             # don't build SMP module
 %bcond_with    verbose         # verbose build (V=1)
 #
@@ -86,11 +87,13 @@ rm -rf $RPM_BUILD_ROOT
 %postun -n kernel%{_alt_kernel}-smp-net-e1000
 %depmod %{_kernel_ver}smp
 
+%if %{with up} || %{without dist_kernel}
 %files
 %defattr(644,root,root,755)
 %doc e1000.7 README ldistrib.txt
 /etc/modprobe.d/%{_kernel_ver}/e1000.conf
 /lib/modules/%{_kernel_ver}/kernel/drivers/net/e1000*.ko*
+%endif
 
 %if %{with smp} && %{with dist_kernel}
 %files -n kernel%{_alt_kernel}-smp-net-e1000
This page took 0.038284 seconds and 4 git commands to generate.