[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/kernel/FC-6 kernel-2.6.spec,1.2975,1.2976



Author: jwilson

Update of /cvs/dist/rpms/kernel/FC-6
In directory cvs.devel.redhat.com:/tmp/cvs-serv26278

Modified Files:
	kernel-2.6.spec 
Log Message:
do a few sanity-checks for --with *only builds (this one's just for you, steved! :)


Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/dist/rpms/kernel/FC-6/kernel-2.6.spec,v
retrieving revision 1.2975
retrieving revision 1.2976
diff -u -r1.2975 -r1.2976
--- kernel-2.6.spec	11 Jul 2007 14:20:59 -0000	1.2975
+++ kernel-2.6.spec	11 Jul 2007 15:38:56 -0000	1.2976
@@ -914,6 +914,27 @@
   done
 %endif
 
+# do a few sanity-checks for --with *only builds
+%if %{with_baseonly}
+%if !%{with_up}
+echo "Cannot build --with baseonly, up build is disabled"
+exit 1
+%endif
+%endif
+
+%if %{with_smponly}
+%if !%{with_smp}
+echo "Cannot build --with smponly, smp build is disabled"
+exit 1
+%endif
+%endif
+
+%if %{with_xenonly}
+%if !%{with_xen}
+echo "Cannot build --with xenonly, xen build is disabled"
+exit 1
+%endif
+%endif
 
 # First we unpack the kernel tarball.
 # If this isn't the first make prep, we use links to the existing clean tarball


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]