Nicolas Mailhot <nicolas.mailhot <at> laposte.net> writes: > rawhide kernel is at release 317 right now. A large portion of those 317 > were mis-builds, oopsing kernels and other various fails (including > stupid typos). > > Anyone dares saying our kernel people are abysmal packagers? Do you want all packages to carry this hack? %define fedora_cvs_origin 623 %define fedora_build %(R="$Revision: 1.941 $"; R="${R%% \$}"; R="${R##: 1.}"; expr $R - %{fedora_cvs_origin}) ... %if 0%{?released_kernel} %define pkg_release %{fedora_build}%{?buildid}%{?dist} %else ... %define pkg_release 0.%{fedora_build}%{?rctag}%{?gittag}%{?buildid}%{?dist} %endif ... Release: %{pkg_release} Because that's what the kernel uses and why they don't need force-tag. And even that doesn't completely eliminate the need for force-tag, because the mistake could be somewhere other than the specfile, e.g. a patch you forgot to cvs add. Kevin Kofler -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list