From f31fd6be796020f6a9115ad43cc69d24e6346cac Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:38:30 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- alsa-lib.spec | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/alsa-lib.spec b/alsa-lib.spec index 6e28536..f3f2740 100644 --- a/alsa-lib.spec +++ b/alsa-lib.spec @@ -20,7 +20,6 @@ Patch2: alsa-lib-1.0.14-glibc-open.patch BuildRequires: doxygen BuildRequires: autoconf automake libtool -Requires(post): /sbin/ldconfig, coreutils %description The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI @@ -109,9 +108,7 @@ mkdir -p %{buildroot}/%{_datadir}/alsa/topology # Remove libtool archives. find %{buildroot} -name '*.la' -delete -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %{!?_licensedir:%global license %%doc}