diff --git a/qcustomplot.spec b/qcustomplot.spec index 8a65287..235c516 100644 --- a/qcustomplot.spec +++ b/qcustomplot.spec @@ -119,13 +119,9 @@ Cflags: -I\${includedir} Libs: -L\${libdir} -lqcustomplot-qt5 EOF -%post -p /sbin/ldconfig +%ldconfig_scriptlets -%postun -p /sbin/ldconfig - -%post qt5 -p /sbin/ldconfig - -%postun qt5 -p /sbin/ldconfig +%ldconfig_scriptlets qt5 %files