From 0642d078abcd214810fb6a88ff42c8687a0d047a Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:40:45 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- qcustomplot.spec | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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