make force-tag gone

Kevin Kofler kevin.kofler at chello.at
Tue Sep 9 22:22:28 UTC 2008


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




More information about the devel mailing list