On Nov 4, 2012, at 5:52 AM, Jakub Bogusz wrote: > Note: with current git log -> %changelog generation you can't begin > changelog entry with "%post" (or other rpm section keyword) - it would > cause changelog to end immediately, thus leading to spec syntax error. >
The problem is actually worse if/when %post (as a section marker) is overloaded as %poist (as a macro), particularly with multiple lines. I'd suggest %%post escaping … ymmv. > That's why I added git note overriding changelog entry for this commit. > > > On Sun, Nov 04, 2012 at 11:41:08AM +0100, qboosh wrote: >> commit 2ae807df00a23e6b1b9823da11c1cc38231b5ae0 >> Author: Jakub Bogusz <qbo...@pld-linux.org> >> Date: Sun Nov 4 11:38:18 2012 +0100 >> >> Notes added by 'git notes add' >> >> af5feaae61966c7e64cdf39baececae4c4f5b0f4 | 1 + >> 1 file changed, 1 insertion(+) >> --- >> diff --git a/af5feaae61966c7e64cdf39baececae4c4f5b0f4 >> b/af5feaae61966c7e64cdf39baececae4c4f5b0f4 >> new file mode 100644 >> index 0000000..8cb4260 >> --- /dev/null >> +++ b/af5feaae61966c7e64cdf39baececae4c4f5b0f4 >> @@ -0,0 +1 @@ >> +- %post improved, %postun added >> ================================================================ >> >> ---- gitweb: >> >> http://git.pld-linux.org/gitweb.cgi/packages/efi-shell.git/commitdiff/2ae807df00a23e6b1b9823da11c1cc38231b5ae0 >> >> _______________________________________________ >> pld-cvs-commit mailing list >> pld-cvs-com...@lists.pld-linux.org >> http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit > > -- > Jakub Bogusz http://qboosh.pl/ > _______________________________________________ > pld-devel-en mailing list > pld-devel-en@lists.pld-linux.org > http://lists.pld-linux.org/mailman/listinfo/pld-devel-en _______________________________________________ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en