From 6f06dc414f55cb1fb64e489fdf0d4f879f8b560d Mon Sep 17 00:00:00 2001 From: sparky Date: Tue, 27 Feb 2007 16:52:59 +0000 Subject: [PATCH] - without up bcond - fixed %files for smp-only Changed files: e1000.spec -> 1.61 --- e1000.spec | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.43.0