This was due to # comments in the .specfile after the %postun section in 1.8.0. 1.8.1 should not have it anymore