Chuck Ebbert wrote:
This might be useful for people building their own kernels:
--- kernel.spec 12 Nov 2007 22:05:50 -0000 1.237
+++ kernel.spec 13 Nov 2007 17:05:39 -0000
@@ -12,7 +12,16 @@
# that the kernel isn't the stock distribution kernel, for example,
# by setting the define to ".local" or ".bz123456"
#
+# You may also add a "pointrelease" with or without the "buildid"
+# so that your locally built kernel gets a version number that
+# is higher than the kernel it is based on and lower than the
+# next offical Fedora release.
+#
#% define buildid .local
+#% define pointrelease .1
+%if 0{?pointrelease}
+%define buildid {pointrelease}{?buildid}
+%endif
# fedora_build defines which build revision of this kernel version we're
# building. Rather than incrementing forever, as with the prior versioning
I generally just use buildid for the same, i.e., I set buildid to .xyz1,
.xyz2, .xyz3, etc as I rebuild a newer versions. I think its probably
not worth the extra lines added to the spec file (which, by the way, in
the example above, are missing a bunch of % symbols before the {. :)
--
Jarod Wilson
jwilson(a)redhat.com