From: Elan Ruusamäe Date: Wed, 14 Mar 2007 00:13:57 +0000 (+0000) Subject: - up bcond X-Git-Tag: DEVEL~7 X-Git-Url: http://git.pld-linux.org/?p=packages%2FX11-driver-firegl.git;a=commitdiff_plain;h=ca67ef3e7add28fc75280b4c1e0692c05109ccab - up bcond Changed files: X11-driver-firegl.spec -> 1.148 --- 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