diff --git a/libchewing.spec b/libchewing.spec index d2457a5..fa7b4b3 100644 --- a/libchewing.spec +++ b/libchewing.spec @@ -92,18 +92,7 @@ touch %{buildroot}%{libchewing_python_dir}/__init__.py rm -f %{buildroot}/%{_infodir}/dir -%post -/sbin/ldconfig -/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : - -%preun -if [ $1 = 0 ] ; then -/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : -fi - -%postun -p /sbin/ldconfig - -%clean +%ldconfig_scriptlets %files %doc README.md AUTHORS COPYING NEWS TODO