#
# 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)
#
%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