diff --git a/packaging/rules/fedora/ring.spec b/packaging/rules/fedora/ring.spec
index 9258ff8cd0d3910cd87d697b2fbf2ca5654aa0b3..7b750b5870afbe3c26ab1102cf4a76f3972dc9c1 100644
--- a/packaging/rules/fedora/ring.spec
+++ b/packaging/rules/fedora/ring.spec
@@ -205,11 +205,10 @@ DESTDIR=%{buildroot} make -C client-gnome/build install
 %{_datadir}/dbus-1/interfaces/*
 
 %post
--p /sbin/ldconfig
+/sbin/ldconfig
 /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
 
-%postun
--p /sbin/ldconfig
+%postun -p /sbin/ldconfig
 
 #for < f24 we have to update the schema explicitly
 %if 0%{?fedora} < 24