[Rpm-maint] Do not die on empty changelog section

devzero2000 pinto.elia at gmail.com
Tue May 24 09:44:22 UTC 2011


On Tue, May 24, 2011 at 10:52 AM, Michael Schroeder <mls at suse.de> wrote:

> On Tue, May 24, 2011 at 09:11:05AM +0300, Panu Matilainen wrote:
> > Applied, thanks. Funny how many pesky regressions get found by testing
> > with different set of specs... (eg in Fedora-world, %changelog is
> > "always" the last section in which case this bug doesn't trigger)
>
> Same with SUSE specs, by the way. The bug was found because we
> have a ".changes to spec" converter that automatically creates
> a %changelog section if it is not already present. The converter
> just looks for '%changelog', but one user had a trailing
> "%Changelog" (note the upper case) in his specfile, so the final
> spec turned out as:
>
> %Changelog
> %changelog
> ...
>
> > FWIW, I'm going to release 4.9.1 in nearish future to plug these
> > annoyances so your patch-count doesn't blow up through the roof :)
>
> Ah, good to hear. I was worried that I'd reach patch 100 ;-)
>
> FWIW, I have counted 69 here (quilt->git patch trasform)
https://github.com/devzero2000/RPM/tree/OPENSUSE11FACTORY/rpm-4.9.0-122.
Perhaps i had done some error in the conversion.

 git shortlog -u -s | sort -n | grep OpenSuse
69  OpenSuse

Best Regards

> Cheers,
>  Michael.
>
> --
> Michael Schroeder                                   mls at suse.de
> SUSE LINUX Products GmbH,  GF Jeff Hawn, HRB 16746 AG Nuernberg
> main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
> _______________________________________________
> Rpm-maint mailing list
> Rpm-maint at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-maint
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20110524/d7199652/attachment.html>


More information about the Rpm-maint mailing list