diff --git a/libtevent.spec b/libtevent.spec index 45d34cf..7001121 100644 --- a/libtevent.spec +++ b/libtevent.spec @@ -133,9 +133,7 @@ cp -a doc/man/* $RPM_BUILD_ROOT/%{_mandir} %{python2_sitearch}/tevent.py* %{python2_sitearch}/_tevent.so -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %if 0%{?with_python3}