%changelog not in descending chronological order

Jacek Konieczny jajcus at jajcus.net
Thu Jul 12 10:49:45 CEST 2012


Hi,

> [jajcus at jajo rpm-build-tools]$ ../builder -bb rpm-build-tools.spec 
> builder: SMP make flags are set to -j1
> Already up-to-date.
> Available branches: AC-brach AC-branch DEVEL LIBCHAMPLAIN_0_8 NEW_PEAR_REQUIRES PATCH_MD5 PLD RA-branch master niceprint rpm-4_1-15_1 rpm-4_4_3 rpm-4_4_6 rpm-4_4_7 rpm_files/master tag_checking
> Building target platforms: i686-linux
> error: %changelog not in descending chronological order
> Error: package build failed. (no more info)

I have examined the generated changelog in the temporary spec file and indeed:

> %changelog
> * Wed Jul 11 2012 Kacper Kornet <draenog at pld-linux.org> c9933bf
> Add help message explaining how to push branch for the first time
> 
> [...]
> * Wed Jul 11 2012 Kacper Kornet <draenog at pld-linux.org> ace99bc
> Check for existence of tag during tagging
> 
> * Tue Jul 10 2012 Kacper Kornet <draenog at pld-linux.org> 8b6d179
> tag_exist accepts preexisting tag pointing to HEAD
> 
> * Wed Jul 11 2012 Kacper Kornet <draenog at pld-linux.org> c9100f1
> Simplify code in tag_files as TAGVER and TAG are mutually exclusive
> [...]

That can be because 'git rev-list', used to generate the changelog,
returns the commits ordered by commit date and not the AuthorDate
(and we want AuthorDate in the changelog)…

Does this work for anybody else? If so, what should I change?

Greets,
        Jacek


More information about the pld-devel-en mailing list