summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--X11-driver-firegl.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/X11-driver-firegl.spec b/X11-driver-firegl.spec
index 99b4819..21a1105 100644
--- a/X11-driver-firegl.spec
+++ b/X11-driver-firegl.spec
@@ -2,6 +2,7 @@
# Conditional build:
%bcond_without dist_kernel # without distribution kernel
%bcond_without kernel # don't build kernel modules
+%bcond_without up # don't build UP module
%bcond_without smp # don't build SMP module
%bcond_without userspace # don't build userspace tools
%bcond_with verbose # verbose build (V=1)
@@ -234,9 +235,11 @@ rm -rf $RPM_BUILD_ROOT
%endif
%if %{with kernel}
+%if %{with up} || %{without dist_kernel}
%files -n kernel%{_alt_kernel}-video-firegl
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}/misc/*.ko*
+%endif
%if %{with smp} && %{with dist_kernel}
%files -n kernel%{_alt_kernel}-smp-video-firegl