after upgrading to 5.3 one of our rpmbuild fail with a unknown error: error: line 818: second %post which is not true. first of all there is no line 818 and the same src.rpm build on 5.2 and fedora too. while we also encounter a problems with epel's mock-0.9.6 no longer works with 5.3's rpm. when we downgrade to 5.2 rpm* and popt everything works again both our build and mock start to working. so it seems to clear there is some rpm bug somwhere.
Please provide a reproducer for the rpmbuild failure. What problems are you seeing with mock? "No longer works" is very, very vague.
for mock just see this long thread, since it's problem for many people as almost all mock build will fail: http://lists.centos.org/pipermail/centos/2009-April/074912.html i try to put together a source for rpmbuild.
there was a bug in our spec file (actualy there were 2 spec file in the tarball which works with previous rpm but not with this) and there is a bug in pam #497570. so this bug can be closed
Closing as per comment 3. FYI, the pam %post failure is now tracked in bug 499048.