diff options
-rw-r--r-- | ImageMagick7.spec | 8 |
1 files changed, 5 insertions, 3 deletions
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 |