summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-02-07 11:19:17 +0100
committerRemi Collet <remi@remirepo.net>2019-02-07 11:19:17 +0100
commit3445462d05b8c7ec4c36fe264bf3dd2113c29bc7 (patch)
tree38e65fb728213e3ad179aa2ed9820e68c3516fe0
parentbfd8c323cda0bccbdb3989ee008fd15eee7017aa (diff)
drop scriptlet when unneeded
-rw-r--r--icu-last.spec5
1 files 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}