diff --git a/qhull.spec b/qhull.spec index bdb4955..853b977 100644 --- a/qhull.spec +++ b/qhull.spec @@ -88,25 +88,19 @@ chrpath --delete ${RPM_BUILD_ROOT}%{_libdir}/lib*.so.* %files -n libqhull %{_libdir}/libqhull.so.* -%post -n libqhull -p /sbin/ldconfig - -%postun -n libqhull -p /sbin/ldconfig +%ldconfig_scriptlets -n libqhull %files -n libqhull_r %{_libdir}/libqhull_r.so.* -%post -n libqhull_r -p /sbin/ldconfig - -%postun -n libqhull_r -p /sbin/ldconfig +%ldconfig_scriptlets -n libqhull_r %files -n libqhull_p %{_libdir}/libqhull_p.so.* -%post -n libqhull_p -p /sbin/ldconfig - -%postun -n libqhull_p -p /sbin/ldconfig +%ldconfig_scriptlets -n libqhull_p %files devel