The RPM is not buildable as an ordinary user because /sbin/ldconfig will be executed in the %install stage (which has no effect at building RPMs). A workaround is to append "LDCONFIG=:" to the install command: %install ... make install FAKEROOT=$RPM_BUILD_ROOT LDCONFIG=: ...
Should be fixed in the next pam release.