summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-02-15 08:33:03 +0100
committerRemi Collet <remi@remirepo.net>2018-02-15 08:33:03 +0100
commita451c110ef0b79d5ae61439f39d9e2b6f44ff63e (patch)
treeed3a66901bed30f43c530ceb6d30f88c01edc6ba
parent67daed4beb63806514186c4f36ddcbae58d82b69 (diff)
drop ldconfig scriptlets for F28
-rw-r--r--ImageMagick7.spec8
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