From ec49fcf0897809b8f7519ae5b11d95e40557dfe3 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:40:14 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- libvma.spec | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libvma.spec b/libvma.spec index b3ae67b..3aba96b 100644 --- a/libvma.spec +++ b/libvma.spec @@ -12,8 +12,6 @@ Patch0: libvma-8.0.1-gcc7.patch Patch1: libvma-8.0.1-gcc8.patch ExcludeArch: %{arm} Requires: pam -Requires(post): /sbin/ldconfig -Requires(postun): /sbin/ldconfig # rdma-core doesn't not exist on s390x. need to check later # disable it temporary ExcludeArch: s390x @@ -60,8 +58,7 @@ make %{?_smp_mflags} V=1 %make_install rm -f $RPM_BUILD_ROOT%{_libdir}/*.la -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %{_libdir}/%{name}*.so.*