From 3445462d05b8c7ec4c36fe264bf3dd2113c29bc7 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 7 Feb 2019 11:19:17 +0100 Subject: drop scriptlet when unneeded --- icu-last.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/icu-last.spec b/icu-last.spec index 1e2d4db..10d352d 100644 --- a/icu-last.spec +++ b/icu-last.spec @@ -157,9 +157,10 @@ pushd source LD_LIBRARY_PATH=lib:stubdata:tools/ctestfw:$LD_LIBRARY_PATH bin/uconv -l -%post -n lib%{name} -p /sbin/ldconfig - +%if 0%{?fedora} < 28 && 0%{?rhel} < 8 +%post -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig +%endif %{!?_licensedir:%global license %%doc} -- cgit