diff --git a/libpinyin.spec b/libpinyin.spec index 317fed0..5eb01bb 100644 --- a/libpinyin.spec +++ b/libpinyin.spec @@ -75,9 +75,7 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files