RFC: split changelog out of spec

Jarod Wilson jwilson at redhat.com
Mon Aug 18 17:41:14 UTC 2008


Dave Jones wrote:
> On Mon, Aug 18, 2008 at 01:13:26PM -0400, Jarod Wilson wrote:
>  > Hey all,
>  > 
>  > Been toying with the idea of splitting the changelog out of the kernel spec 
>  > itself, to reduce the size of the spec file. Basically, instead of %changelog 
>  > followed by all the entries, it'd be %include %{SOURCE1}, which is a file 
>  > 'fedora-kernel-changelog', which carries all the usual changelog entries. Its 
>  > reasonably trivial to implement, though my current hack-around for 'make clog' 
>  > complains about me redefining the clog target. Is shaving 800+ lines out of 
>  > the spec file (only to put them in another file) worth the hassle though?
> 
> Probably not until we move away from CVS to an SCM that doesn't suck.
> It'd be nice if 'make build' slurped the changelog out of the SCM.

I stupidly left out the part where I was supposed to mention that what I had 
in mind longer-term was that it'd be more straight-forward to manipulate a 
stand-alone changelog, esp. if we could just dump the changelog out of our 
SCM. (Some of what Don and Vivek are doing for RHEL w/git is what motivated me 
in the first place).

We could also, if so desired, install the split-out changelog as a %doc file, 
the thought being that not everyone knows to look at 'rpm -q --changelog' 
output or look in the srpm/cvs/etc to see what's changed.


John W. Linville wrote:
 > I don't see how.  What is the motivation?

Apologies, see above. :)

-- 
Jarod Wilson
jarod at redhat.com




More information about the Fedora-kernel-list mailing list