pre-release kernel release tag
Roland McGrath
roland at redhat.com
Thu Aug 9 20:59:49 UTC 2007
I propose we change the release format for snapshot kernels.
Now we get e.g.:
kernel-2.6.23-0.89.rc2.git2.fc8
and I suggest instead:
kernel-2.6.23-0.rc2.git2.89.fc8
That is, put the spec file version number last, not first. This way, when
we forget to reset fedora_cvs_origin after a rebase, we don't have to wait
for the next kernel version to do it, just the next gitN.
We can't make this change until 2.6.23 sails, since for rpm version
comparison rc* is < any [0-9].
--- kernel.spec 09 Aug 2007 13:45:09 -0700 1.72
+++ kernel.spec 09 Aug 2007 13:46:42 -0700
@@ -126,7 +126,7 @@ Summary: The Linux kernel (the core of t
%define rctag .rc0
%endif
%endif
-%define pkg_release 0.%{fedora_build}%{?rctag}%{?gittag}%{?buildid}%{?dist}
+%define pkg_release 0%{?rctag}%{?gittag}.%{fedora_build}%{?buildid}%{?dist}
%endif
# The kernel tarball/base version
More information about the kernel
mailing list