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.*