From: sparky Date: Tue, 27 Feb 2007 16:52:59 +0000 (+0000) Subject: - without up bcond X-Git-Tag: auto/th/kernel-net-e1000-7_6_5-1~9 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=6f06dc414f55cb1fb64e489fdf0d4f879f8b560d;p=packages%2Fe1000.git - without up bcond - fixed %files for smp-only Changed files: e1000.spec -> 1.61 --- diff --git a/e1000.spec b/e1000.spec index e008462..f939f05 100644 --- a/e1000.spec +++ b/e1000.spec @@ -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