diff --git a/qoauth.spec b/qoauth.spec index 5697d5a..8d41940 100644 --- a/qoauth.spec +++ b/qoauth.spec @@ -119,8 +119,7 @@ make check -C %{_target_platform}-qt5 || : make check -C %{_target_platform}-qt4 || : -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %doc README CHANGELOG @@ -134,8 +133,7 @@ make check -C %{_target_platform}-qt4 || : %{_qt4_prefix}/mkspecs/features/oauth.prf %{_qt4_headerdir}/QtOAuth/ -%post qt5 -p /sbin/ldconfig -%postun qt5 -p /sbin/ldconfig +%ldconfig_scriptlets qt5 %files qt5 %doc README CHANGELOG