summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ImageMagick6.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/ImageMagick6.spec b/ImageMagick6.spec
index 6d24034..2b7af71 100644
--- a/ImageMagick6.spec
+++ b/ImageMagick6.spec
@@ -480,11 +480,13 @@ the new location (e.g. httpd, php-fpm).
EOF
fi
+%if 0%{?fedora} < 28 && 0%{?rhel} < 8
%post libs -p /sbin/ldconfig
%post c++ -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%postun c++ -p /sbin/ldconfig
+%endif
%files