From f6038c479405b2168e50b891cd54ed6d6820332b Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:38:34 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- brltty.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/brltty.spec b/brltty.spec index a884a58..ae39fa9 100644 --- a/brltty.spec +++ b/brltty.spec @@ -430,9 +430,9 @@ if [ ! -e %{_sysconfdir}/brlapi.key ]; then chgrp brlapi %{_sysconfdir}/brlapi.key chmod 0640 %{_sysconfdir}/brlapi.key fi -/sbin/ldconfig +%{?ldconfig} -%postun -n brlapi -p /sbin/ldconfig +%ldconfig_postun -n brlapi %files -f %{name}.lang %config(noreplace) %{_sysconfdir}/brltty.conf