diff --git a/slurm.spec b/slurm.spec
index a96cd5ae1d00016a3fdba7cd2b29af6ba4521657..f1c318d328d59aca06a75f8a04715eb9175a90ab 100644
--- a/slurm.spec
+++ b/slurm.spec
@@ -749,7 +749,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 if [ -x /sbin/ldconfig ]; then
-    /sbin/ldconfig %{_libdir}
     /sbin/ldconfig %{_libdir}
     if [ $1 = 1 ]; then
 	[ -x /sbin/chkconfig ] && /sbin/chkconfig --add slurm