summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElan Ruusamäe2007-03-14 00:13:57 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commitca67ef3e7add28fc75280b4c1e0692c05109ccab (patch)
treecaec6da98199a3427f2180a856ff45505d08677e
parentd2672a501889db27ef2f9b725d84fe4a77b2b6ce (diff)
downloadX11-driver-firegl-ca67ef3e7add28fc75280b4c1e0692c05109ccab.zip
X11-driver-firegl-ca67ef3e7add28fc75280b4c1e0692c05109ccab.tar.gz
- up bcond
Changed files: X11-driver-firegl.spec -> 1.148
-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