Red Hat Bugzilla – Bug 8217
RPM not buildable as non-root
Last modified: 2008-05-01 11:37:53 EDT
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:
make install FAKEROOT=$RPM_BUILD_ROOT LDCONFIG=:
Should be fixed in the next pam release.