From a451c110ef0b79d5ae61439f39d9e2b6f44ff63e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 15 Feb 2018 08:33:03 +0100 Subject: drop ldconfig scriptlets for F28 --- ImageMagick7.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'ImageMagick7.spec') diff --git a/ImageMagick7.spec b/ImageMagick7.spec index 175adcd..978a031 100644 --- a/ImageMagick7.spec +++ b/ImageMagick7.spec @@ -460,10 +460,12 @@ the new location (e.g. httpd, php-fpm). EOF fi -%post -p /sbin/ldconfig -%post c++ -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%if 0%{?fedora} < 28 && 0%{?rhel} < 8 +%post -p /sbin/ldconfig +%post c++ -p /sbin/ldconfig +%postun -p /sbin/ldconfig %postun c++ -p /sbin/ldconfig +%endif %files -- cgit