From 69fda208d91bb2c4e335e66cbb63550a4861fda4 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:41:05 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- subversion.spec | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/subversion.spec b/subversion.spec index d6df527..a92daef 100644 --- a/subversion.spec +++ b/subversion.spec @@ -439,22 +439,14 @@ make check-javahl %postun %systemd_postun_with_restart svnserve.service -%post libs -p /sbin/ldconfig +%ldconfig_scriptlets libs -%postun libs -p /sbin/ldconfig +%ldconfig_scriptlets perl -%post perl -p /sbin/ldconfig - -%postun perl -p /sbin/ldconfig - -%post ruby -p /sbin/ldconfig - -%postun ruby -p /sbin/ldconfig +%ldconfig_scriptlets ruby %if %{with_java} -%post javahl -p /sbin/ldconfig - -%postun javahl -p /sbin/ldconfig +%ldconfig_scriptlets javahl %endif %files -f %{name}.files