From ebbd45f91a0bd4664a0fd9d456211cf616d1a17b Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Mon, 26 Feb 2018 13:53:06 +0100 Subject: [PATCH] Use ldconfig scriptlets https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets --- libtevent.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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}